2017 © Pedro Peláez
 

library espresso

Silex wired with radioactive caffeine.

image

aheart/espresso

Silex wired with radioactive caffeine.

  • Monday, July 13, 2015
  • by aheart
  • Repository
  • 1 Watchers
  • 1 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 23 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

React/Espresso

React/Espresso is a proof-of-concept microframework that integrates Silex with React/Http., (*1)

Build Status, (*2)

Install

The recommended way to install react/espresso is through composer., (*3)

{
    "require": {
        "minimum-stability": "dev",
        "aheart/espresso": "0.2.*"
    }
}

Example

$app = new React\Espresso\Application();

$app->get('/', function ($request, $response) {
    return 'Hello World';
});

$app->get('/hello/{name}', function($name) use($app) {
    return 'Hello '.$app->escape($name);
});

$app->error(function (\Exception $e, $code) use ($app) {
    return 'Page not found';
});

$stack = new React\Espresso\Stack($app);
$stack->listen(1337);

Tests

To run the test suite, you need PHPUnit., (*4)

$ phpunit

License

MIT, see LICENSE., (*5)

The Versions

13/07 2015

dev-master

9999999-dev

Silex wired with radioactive caffeine.

  Sources   Download

MIT

The Requires

 

microframework

24/09 2012

v0.2.1

0.2.1.0

Silex wired with radioactive caffeine.

  Sources   Download

MIT

The Requires

 

microframework

10/09 2012

v0.2.0

0.2.0.0

Silex wired with radioactive caffeine.

  Sources   Download

MIT

The Requires

 

microframework

12/07 2012

v0.1.1

0.1.1.0

Silex wired with radioactive caffeine.

  Sources   Download

MIT

The Requires

 

microframework

11/07 2012

v0.1.0

0.1.0.0

Silex wired with radioactive caffeine.

  Sources   Download

MIT

The Requires

 

microframework