2017 © Pedro Peláez
 

library silex-reactphp-espresso

Silex wired with radioactive caffeine. Forked from ReactPHP to support the latest version.

image

sinasalek/silex-reactphp-espresso

Silex wired with radioactive caffeine. Forked from ReactPHP to support the latest version.

  • Friday, September 16, 2016
  • by sinasalek
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 23 Forks
  • 0 Open issues
  • 6 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",
        "react/espresso": "0.3.*"
    }
}

Example

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

$app->get('/', function ($request, $response) {
    $response->writeHead(200, array('Content-Type' => 'text/plain'));
    $response->end("Hello World\n");
});

$app->get('/favicon.ico', function ($request, $response) {
    $response->writeHead(204);
    $response->end();
});

$app->get('/humans.txt', function ($request, $response) {
    $response->writeHead(200, array('Content-Type' => 'text/plain'));
    $response->end("I believe you are a humanoid robot.\n");
});

$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

16/09 2016

dev-master

9999999-dev

Silex wired with radioactive caffeine. Forked from ReactPHP to support the latest version.

  Sources   Download

MIT

The Requires

 

microframework

11/12 2015

dev-dev-upgrade

dev-dev-upgrade

Silex wired with radioactive caffeine. Forked from ReactPHP to support the latest version.

  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