Documentation: Bootstrap
Once framework is installed, all requests to your project, except those pointing to static files (eg: public folder), will be bootstrapped to index.php file, whose only job is to start the framework and manage your application in following steps:
- loads composer autoloader
- detects development environment registered on web server (see Installation) into ENVIRONMENT constant
-
registers STDERR MVC API as handler of exception-response flow based on:
- lets above stand in suspended animation unless an error/exception is thrown below
-
if HTTP request is to be handled:
otherwise, if console request is to be handled:
- starts request-response handling
Logical schema: