Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.77 KB

README.md

File metadata and controls

51 lines (36 loc) · 1.77 KB

http-middleware

Build Status Code Quality Code Coverage Latest Version PDS Skeleton

PSR-15 compliant implementation for processing middleware queues.

Installation

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

Usage

$requestHandler = new RequestHandler($responseFactory, ...$middlewares);
$response = $requestHandler->handle($serverRequest);

See examples.

Credits

License

Released under MIT License - see the License File for details.