aura-micro travis-ci Packagist

Aura Microframework wrapper paralleling the Silex API, sort of

5 years after

Aura Micro Framework

This is a simple Micro Framework implementation using Aura.Router. It is designed to model the API exposed by Silex\Application. It does not fully match the Silex API and there is no concept of service providers.

Example usage

Basic micro-framework implementation

<?php

$app = new Aura\Micro\Micro();

$app->before(function(){
    print "Running before" . PHP_EOL;
});

$app->after(function(){
    print "Running after" . PHP_EOL;;
});

$app->finish(function(){
    print "Running finish" . PHP_EOL;
});

$app->error(function(){
    print "Error" . PHP_EOL;
});

$app->get("/test", function(){
    print "Testing" . PHP_EOL;
});

$app->get("/hello/{:world}", function($world) use($app){
    print "Hello {$world}" . PHP_EOL;
});

$app->run();

Related Repositories

awesome-php

awesome-php

A curated list of amazingly awesome PHP libraries, resources and shiny things. ...

Aura.Dispatcher

Aura.Dispatcher

Object factory and method invoker. ...

Aura.Framework_Project

Aura.Framework_Project

A minimal web+CLI framework built from Aura v2 components. ...

karen

karen

Karen is a simple PSR-7 micro framework with PHP7 ...

Aura.Cli_Project

Aura.Cli_Project

The skeleton for a CLI project. ...


Top Contributors

stanlemon harikt igorw

Releases

-   v0.2.0 zip tar
-   v0.1.2 zip tar
-   v0.1.1 zip tar
-   v0.1.0 zip tar