Routes
Expressive verbs, parameters, names, groups, and middleware.
A practical PHP 8 framework that borrows the workflow you like—routing, middleware, validation, Blade-style views, migrations—without classes or hidden machinery.
route_get('/hello/{name?}',
function (?string $name = null) {
return json_response([
'message' => "Hello, $name!"
]);
},
['name' => 'hello']
);Expressive verbs, parameters, names, groups, and middleware.
Escaped output, layouts, sections, includes, and familiar directives.
PDO connections, safe bindings, CRUD helpers, and migrations.
Unified input, JSON, headers, method spoofing, and responses.
Composable rules, old input, error bags, and redirect helpers.
Serve, inspect routes, migrate, scaffold, and clear caches.
This form exercises sessions, CSRF protection, validation, flash data, redirects, and the database helper.