Skip to content

marko-php/marko-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marko Skeleton

Application skeleton for the Marko Framework.

Installation

composer create-project marko/skeleton my-app
cd my-app

What's Included

  • public/index.php — Web entry point
  • app/ — Your application modules
  • modules/ — Third-party modules
  • config/ — Root configuration
  • storage/ — Logs, cache, sessions
  • .env.example — Environment template

Getting Started

  1. Copy .env.example to .env
  2. Install dev tools: composer install
  3. Start the dev server: marko up
  4. Visit http://localhost:8000

Next Steps

Create your first controller inside app/:

<?php

declare(strict_types=1);

namespace App\Http\Controllers;

use Marko\Http\Request;
use Marko\Http\Response;

class HomeController
{
    public function index(Request $request): Response
    {
        return new Response('Hello, Marko!');
    }
}

Documentation

About

[READ-ONLY] Marko Framework - Application Skeleton. Issues and PRs at https://github.com/marko-php/marko

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages