madewithlove / psr15-bridge
This package is abandoned and no longer maintained.
No replacement package was suggested.
0.1.0
2017-04-07 15:30 UTC
Requires
- php: >5.6
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is not auto-updated.
Last update: 2022-09-30 14:45:37 UTC
README
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