Middleware for PHP built on top of PSR-7, PSR-15 and PSR-17
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 require wecodein/http-middleware
$requestHandler = new RequestHandler($responseFactory, ...$middlewares); $response = $requestHandler->handle($serverRequest);
Released under MIT License - see the License File for details.