Provides a PSR-15 middleware double pass decorator.
This package is auto-updated.
Last update: 2023-11-29 03:15:30 UTC
This package provides a PSR-15 middleware that decorates a callable (double pass) middleware.
The recommnended way to install this library is through composer:
composer require kuyoto/psr15-bridge
use Kuyoto\Psr15\Bridge\DoublePassMiddlewareDecorator; $decorator = new DoublePassMiddlewareDecorator($callableMiddleware, $response);
You can add the resulting middleware objects in a PSR-15 stack.
The package is an open-sourced software licensed under the MIT License.