Fetching contributors…
Cannot retrieve contributors at this time
28 lines (20 sloc) 910 Bytes

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
    $app = new \OnePHP\App();

    $app->get('/',function() use ($app){//Action
        echo 'Hello world';
Contribute and improve this documentation.
Click Edit and Fork the project.