Download the PHP package ellipse/dispatcher-callable without Composer
On this page you can find all versions of the php package ellipse/dispatcher-callable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ellipse/dispatcher-callable
More information about ellipse/dispatcher-callable
Files in ellipse/dispatcher-callable
Package dispatcher-callable
Short Description Psr-15 middleware dispatcher factory resolving callables
License MIT
Homepage https://github.com/ellipsephp/dispatcher-callable
Informations about the package dispatcher-callable
Callable resolver
This package provides a factory decorator for objects implementing Ellipse\DispatcherFactoryInterface
from ellipse/dispatcher package. It allows to produce instances of Ellipse\Dispatcher
using callables as middleware and request handler.
Require php >= 7.0
Installation composer require ellipse/dispatcher-callable
Run tests ./vendor/bin/kahlan
- Create a dispatcher factory resolving callables
Create a dispatcher factory resolving callables
This package provides an Ellipse\Dispatcher\CallableResolver
class implementing Ellipse\DispatcherFactoryInterface
which allows to decorate any other object implementing this interface.
Once decorated, the resulting dispatcher factory can be used to produce instances of Ellipse\Dispatcher
by resolving callables as Ellipse\Middleware\CallableMiddleware
from the ellipse/middleware-callable package or as Ellipse\Handlers\CallableRequestHandler
from the ellipse/handlers-callable package.
CallableMiddleware
and CallableRequestHandler
logic is described on the ellipse/middleware-callable and ellipse/handlers-callable documentation pages.
All versions of dispatcher-callable with dependencies
psr/http-message Version ^1.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
ellipse/middleware-callable Version ^1.0
ellipse/dispatcher Version ^1.6
ellipse/handlers-callable Version ^1.0