legionth / http-middleware
v0.1.0
2016-12-05 12:54 UTC
Requires
- php: >=5.3
Requires (Dev)
- guzzlehttp/psr7: ^1.3.1
This package is auto-updated.
Last update: 2024-11-16 19:44:29 UTC
README
HTTP middleware interfaces based on the current status (2016-12-05) of the equivalent PSR document from fig-php
Table of Contents
Usage
This is collection of all interfaces defined the currently proposed PSR-15 document. It MAY can change in the future because this document is under discussions.
Create your own middleware e.g. using:
class MyMiddleWare implements ClientMiddlewareInterface { public function process(RequestInterface $request, DelegateInterface $next) { return $next->next($request); } }
Checkout the PSR-15 proposed definitions.
Install
This will install the latest supported version:
$ composer require legionth/http-middleware:^0.1
License
MIT