Registry / networking / equip-dispatch

equip-dispatch

JSON →
library2.0.0phppackagistunverified

An HTTP Interop compatible middleware dispatcher

composer require equip/dispatch
INSTALL
IMPORT
SIG · EQUIP-DISPATCH
E
equip-dispatch
networkingphpv2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Dispatcher
use Equip\Dispatch\Dispatcher;

Create a middleware dispatcher and handle a request.

use Equip\Dispatch\Dispatcher; use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Server\RequestHandlerInterface; $dispatcher = new Dispatcher([ function (ServerRequestInterface $request, RequestHandlerInterface $handler) { return $handler->handle($request); } ]); $response = $dispatcher->handle($request);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
equip-dispatch — pip install equip-dispatch · libregistry