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();
No more then 200 lines of logic (according to coverage report). Less code, less weight, more confident.
Only write code that is absolutely needed, you know what you are writing.
MinorWork is such simple, it fits most use case. Do what ever you want.