MinorWork

The PHP Framework you can understand.

composer require minorwork/minorwork
<?php
include __DIR__ . '/../vendor/autoload.php';

$app = new \MinorWork\App;
$app->handlerClassPrefix = '\My\Controller';
$app->setRouting([
  'root'      => [        '/',       '\Index:home'],
  'loginForm' => ['GET',  '/login',  '\Login:form'],
  'loginAct'  => ['POST', '/login',  '\Login:login'],
  'article'   => [        '/a/{id}', '\Article:show'],
  'users'     => [        '/u',      '\User:list'],
  'userPage'  => [        '/u/{id}', '\User:profile'],
]);

$app->run();

Feature

Light Weight

No more then 200 lines of logic (according to coverage report). Less code, less weight, more confident.

Easy & Clean

Only write code that is absolutely needed, you know what you are writing.

Your way

MinorWork is such simple, it fits most use case. Do what ever you want.