A PHP copy of Sinatra: a DSL for quickly creating web applications in PHP with minimal effort.
https://github.com/Pinatra/Pinatra
Source Code:GETTING STARTED
install
composer require pinatra/framework=~0.0
run your own application!
require __DIR__.'/../vendor/autoload.php';
get('hi', function() {
echo "I am Pinatra framework!";
});