Skip to content

sehwoo/webphp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

         _ |_  ._ |_ ._
    \/\/(/_|_)o|_)| ||_)
               |     |

web.php is an extremely lightweight PHP MVC framework originally
inspired by _why's MVC Microframework "Camping". It soon ended up
looking like `web.py`, so it was renamed and recoded.

Example
-------

    <?php
    require 'web.php';
    
    $urls = array(
        '/(.*)' => 'Hello'
    );
    
    class Hello {
        function get($page) {
            if (empty($page)) $page = "world";
            echo "Hello $page!";
        }
    }
    
    run($urls);
    
    ?>

Sharing
-------
web.php is licensed under a Modified MIT license. See LICENSE.

Todo
----
  - Get Models to work
  - Make extendable database abstraction layer

About

web.php is a micro web framework inspired by web.py

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages