contents.md
August 23, 2017 ยท View on GitHub
ONE PHP Micro Framework Documentation
Just 2 simple class to help you develop easy and fast websites and webservices for webs 2.0 and allow you to create your own microframework easily.
Table of contents:
1- Folder structure
2- Routing
3- Controllers
4- Views
5- More
Simplest example:
//index.php file
require_once('src/OnePHP/one_framework.php');
$app = new \OnePHP\App();
$app->get('/',function() use ($app){//Action
echo 'Hello world';
});
$app->listen();