library callable-http-kernel
HttpKernelInterface implementation based on callables.
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
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!');
});
dev-master
9999999-dev
HttpKernelInterface implementation based on callables.
Sources
Download
MIT
The Requires
The Development Requires
stack
v1.0.1
1.0.1.0
HttpKernelInterface implementation based on callables.
Sources
Download
MIT
The Requires
The Development Requires
stack
v1.0.0
1.0.0.0
HttpKernelInterface implementation based on callables.
Sources
Download
MIT
The Requires
stack