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

This package is not auto-updated.

Last update: 2022-09-30 14:45:37 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