Download the PHP package kovagoz/http-middleware-closure-handler without Composer
On this page you can find all versions of the php package kovagoz/http-middleware-closure-handler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kovagoz/http-middleware-closure-handler
More information about kovagoz/http-middleware-closure-handler
Files in kovagoz/http-middleware-closure-handler
Download kovagoz/http-middleware-closure-handler
More information about kovagoz/http-middleware-closure-handler
Files in kovagoz/http-middleware-closure-handler
Vendor kovagoz
Package http-middleware-closure-handler
Short Description PSR-15 compatible HTTP middleware which can utilize closure type request handlers.
License MIT
Package http-middleware-closure-handler
Short Description PSR-15 compatible HTTP middleware which can utilize closure type request handlers.
License MIT
Please rate this library. Is it a good library?
Informations about the package http-middleware-closure-handler
Closure Handler Middleware
PSR-15 compatible HTTP middleware which can utilize closure type request handlers.
If you don't want to bother about those ugly HTTP controllers and love simplicity, this middleware is your best friend.
Requirements
- PHP >=8.0
Usage
If no handler found in the request object, or handler is not closure, then the middleware passes the request to the next middleware in the row.
Name of the request attribute (__handler
) can be changed by the
watchRequestAttribute()
method.
All versions of http-middleware-closure-handler with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
psr/http-server-middleware Version ^1.0.0
kovagoz/http-responder Version ^1.0
psr/http-server-middleware Version ^1.0.0
kovagoz/http-responder Version ^1.0
The package kovagoz/http-middleware-closure-handler contains the following files
Loading the files please wait ....