Вот такой вот Hello World получается.
require __DIR__ . '/vendor/autoload.php';
use Symfony\Component\HttpFoundation\Response;
$config = [
'routing' => [
'routes' => [
'home' => [
'method' => 'GET',
'path' => '/',
'handler' => 'home',
],
],
],
'container' => [
'definitions' => [
'home' => function () {
return new Response("Hello!\n");
},
],
],
];
(new Vermillion\Http\Application($config))->run();