Registry / web-framework / zendframework-zend-expressive-fastroute

zendframework-zend-expressive-fastroute

JSON →
library3.0.3phppackagistunverified

FastRoute integration for Expressive micro-framework.

composer require zendframework/zend-expressive-fastroute
INSTALL
IMPORT
SIG · ZENDFRAMEWORK-ZEND
Z
zendframework-zend-expressive-fastroute
web-frameworkphpv3.0.3
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.

FastRouteRouter
use Zend\Expressive\Router\FastRouteRouter;

Create a FastRoute router and add a route.

<?php use Zend\Expressive\Router\FastRouteRouter; $router = new FastRouteRouter(); $router->addRoute('GET', '/hello/{name}', function ($request, $response, $args) { $response->getBody()->write('Hello ' . $args['name']); return $response; });
Debug
Known issues
gotchaThis package is part of the deprecated Zend Framework; consider migrating to Mezzio (Laminas).
fix
Replace with mezzio/mezzio-fastroute for continued support.
affects: >=3.0.0
Upgrade
Version history
3.0.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
OpenAI (training)
1
Resources
zendframework-zend-expressive-fastroute — pip install zendframework-zend-expressive-fastroute · libregistry