Minimalistic fully object oriented PHP library for fast and easy web development.
Provides routing and controller parts for MVC architecture. You're free to use any templating engine and any form of data storage for your web applications. It's open sourced, MIT licensed, so possible to use in commercial applications.
<?php
require_once("nphp/nphp.php");
class IndexController extends Nphp_ControllerAbstract {
public function get($request) {
return "hello world!";
}
}
$app = new Nphp_Application();
$app->setRoutes(array('^/$' => 'IndexController'));
$app->start();