2017 © Pedro Peláez
 

library framework

image

wispira/framework

  • Saturday, December 12, 2015
  • by Wispira
  • Repository
  • 1 Watchers
  • 0 Stars
  • 26 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Usage

use Wispira\Framework\Application;
use Wispira\Framework\Http\Response\HtmlResponse;

$app = Application::create();

$app->newRoute("home")
    ->setPath("*/")
    ->setController(function(HtmlResponse $response) {
        $response->setBody("Hello, World!");
        return $response;
    })
;

$response = $app->load();
$response ->send();

Documentation

Installation and usage documentation is available on the Wispira website., (*1)

Credits

The HTTP routing classes use many components from nikic/FastRoute., (*2)

License

For more information, see the included LICENSE file., (*3)

The Versions

12/12 2015

dev-master

9999999-dev

  Sources   Download