willy68 / mezzio-router-dev
This package is abandoned and no longer maintained.
No replacement package was suggested.
Router subcomponent for Mezzio
3.5.8.1
2021-02-05 12:31 UTC
Requires
- php: ^7.3 || ~8.0.0
- fig/http-message-util: ^1.1.2
- laminas/laminas-zendframework-bridge: ^1.0
- psr/container: ^1.0
- psr/http-message: ^1.0.1
- psr/http-server-middleware: ^1.0
Requires (Dev)
- laminas/laminas-coding-standard: ~2.1.0
- malukenho/docheader: ^0.1.6
- phpspec/prophecy: ^1.9
- phpspec/prophecy-phpunit: ^2.0
- phpunit/phpunit: ^9.4.1
- psalm/plugin-phpunit: ^0.15.0
- vimeo/psalm: ^4.3
Suggests
- mezzio/mezzio-aurarouter: ^3.0 to use the Aura.Router routing adapter
- mezzio/mezzio-fastroute: ^3.0 to use the FastRoute routing adapter
- mezzio/mezzio-laminasrouter: ^3.0 to use the laminas-router routing adapter
Replaces
This package is auto-updated.
Last update: 2025-05-29 14:25:36 UTC
README
Router subcomponent for Mezzio.
This package provides the following classes and interfaces:
RouterInterface, a generic interface to implement for providing routing capabilities around PSR-7ServerRequestmessages.Route, a value object describing routed middleware.RouteResult, a value object describing the results of routing.
Installation
Typically, you will install this when installing Mezzio. However, it can be used standalone to provide a generic way to provide routed PSR-7 middleware. To do this, use:
$ composer require mezzio/mezzio-router
We currently support and provide the following routing integrations:
- Aura.Router:
composer require mezzio/mezzio-aurarouter - FastRoute:
composer require mezzio/mezzio-fastroute - laminas-router:
composer require mezzio/mezzio-laminasrouter
Documentation
Mezzio provides routing documentation.