Download the PHP package mehr-it/eli-closure-middleware without Composer
On this page you can find all versions of the php package mehr-it/eli-closure-middleware. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mehr-it/eli-closure-middleware
More information about mehr-it/eli-closure-middleware
Files in mehr-it/eli-closure-middleware
Download mehr-it/eli-closure-middleware
More information about mehr-it/eli-closure-middleware
Files in mehr-it/eli-closure-middleware
Vendor mehr-it
Package eli-closure-middleware
Short Description PSR-15 middleware for closures
License MIT
Package eli-closure-middleware
Short Description PSR-15 middleware for closures
License MIT
Please rate this library. Is it a good library?
Informations about the package eli-closure-middleware
PSR-15 closure middleware
This package implements a simple PSR-15 adapter middleware for closures. This way simple closures
can be used to implement middleware functionality. The closure receives the request and the next
handler and must return an instance of ResponseInterface
:
$middleware = new ClosureMiddleware(function ($request, $next) {
/** insert your code here **/
return $response;
});
Not only closures, but any callable
can be passed to the closure middleware.
All versions of eli-closure-middleware with dependencies
PHP Build Version
Package Version
The package mehr-it/eli-closure-middleware contains the following files
Loading the files please wait ....