Hubert is a PHP micro framework that's fast, easy to use and easy to extend.
For more information on how to configure your web server, see the Documentation.
Hubert is available via Composer:
{
"require": {
"falkm/hubert": "1.*"
}
}
Create an index.php file with the following contents:
<?php
require 'vendor/autoload.php';
$config = array(
"routes" => array(
"home" => array(
"route" => "/",
"target" => function($request, $response, $args){
echo "Hello World";
}
)
)
);
hubert($config);
hubert()->core()->run();
- PSR-7 implementation: zendframework/zend-diactoros
- container-dependencies: pimple/pimple
- router: [altorouter/altorouter] (https://github.com/dannyvankooten/AltoRouter)
The MIT License (MIT). Please see License File for more information.