Skip to content

falkmueller/hubert

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published