- Slim3
- PHP ≧ 5.5.x
https://github.com/shucream0117/slim-boost をPHP5に対応させました
$app->get("/", IndexController::class . ':showIndex');
$app->get("/users/{user_id:[0-9]+}", UserController::class . ':showUserById');
'foundHandler' => function () {
return new FoundHandler();
},