zendframework / zend-expressive-router
Router subcomponent for Expressive
Installs: 1 782 345
Dependents: 34
Suggesters: 0
Security: 0
Stars: 29
Watchers: 22
Forks: 17
Open Issues: 2
Requires
- php: ^7.1
- fig/http-message-util: ^1.1.2
- psr/container: ^1.0
- psr/http-message: ^1.0.1
- psr/http-server-middleware: ^1.0
Requires (Dev)
- malukenho/docheader: ^0.1.6
- phpunit/phpunit: ^7.5.16 || ^8.4.1
- zendframework/zend-coding-standard: ~1.0.0
Suggests
- zendframework/zend-expressive-aurarouter: ^3.0 to use the Aura.Router routing adapter
- zendframework/zend-expressive-fastroute: ^3.0 to use the FastRoute routing adapter
- zendframework/zend-expressive-zendrouter: ^3.0 to use the zend-router routing adapter
This package is auto-updated.
Last update: 2020-01-20 17:54:16 UTC
README
Repository abandoned 2019-12-31
This repository has moved to mezzio/mezzio-router.
Router subcomponent for Expressive.
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 Expressive. However, it can be used standalone to provide a generic way to provide routed PSR-7 middleware. To do this, use:
$ composer require zendframework/zend-expressive-router
We currently support and provide the following routing integrations:
- Aura.Router:
composer require zendframework/zend-expressive-aurarouter
- FastRoute:
composer require zendframework/zend-expressive-fastroute
- zend-router:
composer require zendframework/zend-expressive-zendrouter
Documentation
Expressive provides routing documentation.