Standalone routing implementation for HTTP and console requests
PHP
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
src
test
.coveralls.yml
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md
LICENSE.md
README.md
composer.json
composer.lock
mkdocs.yml
phpcs.xml
phpunit.xml.dist

README.md

zend-router

Build Status Coverage Status

zend-router provides flexible HTTP routing.

Routing currently works against the zend-http request and responses, and provides capabilities around:

  • Literal path matches
  • Path segment matches (at path boundaries, and optionally validated using regex)
  • Regular expression path matches
  • HTTP request scheme
  • HTTP request method
  • Hostname

Additionally, it supports combinations of different route types in tree structures, allowing for fast, b-tree lookups.