Skip to content

Projet personnel de création d'un framework MVC "Symfony like"

Notifications You must be signed in to change notification settings

Smoqqqq/framework

Repository files navigation

FRAMEWORK

Projet personnel de création d'un framework MVC "Symfony like"

Install

composer install

to install dependecies (https://getcomposer.org/)

Functionalities

Pages

By default, templates are in the "templates" folder
You can configure the folder in .env at

TEMPLATES_FOLDER

they are implemented using

Twig

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

Routing is implemented using a Symfony like doctrine annotation. Ex:

/**
 * @Route(route="/home", name="app_homepage")
 */

Error logging

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

About

Projet personnel de création d'un framework MVC "Symfony like"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published