PSR-15 compliant implementation for processing middleware queues.
The preferred method of installation is via Composer. Run the following command to install the latest version of a package and add it to your project's composer.json
:
composer require wecodein/http-middleware
$requestHandler = new RequestHandler($responseFactory, ...$middlewares);
$response = $requestHandler->handle($serverRequest);
See examples.
Released under MIT License - see the License File for details.