Projet personnel de création d'un framework MVC "Symfony like"
composer install
to install dependecies (https://getcomposer.org/)
By default, templates are in the "templates" folder
You can configure the folder in .env at
TEMPLATES_FOLDER
they are implemented using
Twig is the default templating engine implemented in CascadIO.
You can render any twig file in a controller using
$this->render("path/to/file.html.twig");
Routing is implemented using a Symfony like doctrine annotation. Ex:
/**
* @Route(route="/home", name="app_homepage")
*/
Error logging is automated. Errors are saved to the "var/logs/php_error.log" file by default, thought this path can be configured by setting the "ERROR_LOG" environment variable