Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

falkmueller/hubert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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