2017 © Pedro Peláez
 

library callable-http-kernel

HttpKernelInterface implementation based on callables.

image

stack/callable-http-kernel

HttpKernelInterface implementation based on callables.

  • Saturday, June 18, 2016
  • by igorw
  • Repository
  • 7 Watchers
  • 22 Stars
  • 14,277 Installations
  • PHP
  • 24 Dependents
  • 0 Suggesters
  • 7 Forks
  • 3 Open issues
  • 3 Versions
  • 3 % Grown

The README.md

Stack/CallableHttpKernel

HttpKernelInterface implementation based on callables., (*1)

It's mostly useful to test stack middlewares, and to mock the HttpKernelInterface on the fly., (*2)

Example

use Stack\CallableHttpKernel;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

$app = new CallableHttpKernel(function (Request $request) {
    return new Response('Hello World!');
});

The Versions

18/06 2016

dev-master

9999999-dev

HttpKernelInterface implementation based on callables.

  Sources   Download

MIT

The Requires

 

The Development Requires

stack

18/06 2016

v1.0.1

1.0.1.0

HttpKernelInterface implementation based on callables.

  Sources   Download

MIT

The Requires

 

The Development Requires

stack

01/09 2014

v1.0.0

1.0.0.0

HttpKernelInterface implementation based on callables.

  Sources   Download

MIT

The Requires

 

stack