Download the PHP package ellipse/handlers without Composer
On this page you can find all versions of the php package ellipse/handlers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ellipse/handlers
More information about ellipse/handlers
Files in ellipse/handlers
Package handlers
Short Description Psr-15 request handler decorators
License MIT
Homepage https://github.com/ellipsephp/handlers
Informations about the package handlers
Request handler decorators
This package provides Psr-15 request handler decorators.
Require php >= 7.0
Installation composer require ellipse/handlers
Run tests ./vendor/bin/kahlan
- Fallback request handler
- Request handler with middleware
- Request handler with middleware stack
- Request handler with middleware queue
Fallback request handler
An usual starting point for request handler decorators is to have a request handler returning a default response when its ->handle()
method is called. This package provides an Ellipse\Handlers\FallbackRequestHandler
class implementing this logic.
Request handler with middleware
This package provides an Ellipse\Handlers\RequestHandlerWithMiddleware
class allowing to wrap a middleware around a request handler.
Request handler with middleware stack
This package provides an Ellipse\Handlers\RequestHandlerWithMiddlewareStack
class allowing to wrap many middleware around a request handler in LIFO order.
Request handler with middleware queue
This package provides an Ellipse\Handlers\RequestHandlerWithMiddlewareQueue
class allowing to wrap many middleware around a request handler in FIFO order.
All versions of handlers with dependencies
psr/http-message Version ^1.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
ellipse/type-errors Version ^1.0