Skip to content

hazaveh/cheap-php

Repository files navigation

CHEAP-PHP

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.

Installation

  1. clone this repository
https://github.com/hazaveh/cheap-php.git
  1. Run Composer Install
composer install
  1. 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.

About

another unnecessary php framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published