SeedProject Framework - is a super lite framework i built for my web applications. I looked into CI, Laravel, and a few others, I personally felt like they were too heavy for what i needed. SeedProject is also good for beginner developers that need to get something up quickly and learn more about how MVC frameworks and helps them get setup quickly to build out APIs for their Mobile Applications.
Follow the steps:
- Make sure your directory is empty 'rm -rf ' and to delete hidden files 'rm -rf .'
- clone the repo: git clone https://github.com/CarlosJa/SeedProject-Naked.git .
Routing is handled in 2 ways. I have default router provided by the Bootstrap.php which is basic /controller/method/param/param.
I also have AltoRouter which allows you to customize your routing.
To use custom routing go to /plugins/Router.php you can add your Router Mapping.
$router->map('GET|POST','/game/info/[i:id]', array('c' => 'games', 'a' => 'index'));
To learn more about AltoRouter visit (https://altorouter.com/usage/mapping-routes.html)