madewithlove/psr15-bridge

0.1.0 2017-04-07 15:30 UTC

README

Build Status

Installation

composer require madewithlove/psr15-bridge

Usage

Wrap existing callable (double pass) PSR-7 middlewares in a PSR-15 middleware:

$middleware = new Middleware($callableMiddleware, new Response());

And use the resulting middleware objects in a PSR-15 stack.

Testing

After cloning this project, install its dependencies and run the test suite:

composer install
vendor/bin/phpunit

License

MIT