No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
src
.gitignore
LICENSE add license Nov 1, 2016
README.md edit doc Nov 20, 2016
composer.json

README.md

Hubert

Author Source Code Software License Website

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.

Installation

Hubert is available via Composer:

{
    "require": {
        "falkm/hubert": "1.*"
    }
}

Usage

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();

components

License

The MIT License (MIT). Please see License File for more information.