/Simple-MVC

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

Simple MVC is a simple, clean and minimal MVC framework in PHP.
It was created for educational purposes and small personal web projects.

It allows layout templates and will look through a hierarchy of layout names in order:

- controller-action.php
- controller.php
- application.php

It will always use application.php if no other files are created and throw an error if it is not available.

A appController.php file needs to be created in '/app/controllers/' which gets instatiated with each route.