willy68 / mezzio-router-dev
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
- dev-master / 3.5.x-dev
- 3.5.8.1
- 3.5.8
- 3.5.7
- 3.5.6
- 3.5.5
- 3.5.4
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.x-dev
- 3.3.x-dev
- 3.3.0
- 3.2.x-dev
- 3.2.1
- 3.2.0
- 3.1.x-dev
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 3.0.0rc6
- 3.0.0rc5
- 3.0.0rc4
- 3.0.0rc3
- 3.0.0rc2
- 3.0.0rc1
- 3.0.0alpha3
- 3.0.0alpha2
- 3.0.0alpha1
- 2.4.1
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.1
- 1.0.0
- dev-develop
This package is auto-updated.
Last update: 2025-03-01 00:27:04 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-7ServerRequest
messages.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.