Guide
Request lifecycle
Mahaut uses an explicit front-controller lifecycle.
- public/index.php loads the bootstrap class.
- Bootstrap loads configuration, autoloading, runtime settings, optional database support, and sessions.
- Routes are registered from app/routes.php and dispatched by method and path.
- Controllers return arrays for views or direct string responses.