Cheap is another unnecessary php framework. it's not here to compete with anything out there. It's simply me attempting to build my own simple MVC Framework as it was required for a test.
Cheap Provides a Router with Parameter Detection functionality.
Simply create a controller and a method and point your routes to get started.
Cheap has support for twig templating engine.
- clone this repository
https://github.com/hazaveh/cheap-php.git
- Run Composer Install
composer install
- point your web server to public folder.
OR Simply run the server.php
php server.php
necessary settings for apache/php-built in web servers are there.
There are some sample routes, a sample controller and a view shipped with it.
Also there is a Test Class to test the routing & parameters detection.