zendframework/zend-router

This package is abandoned and no longer maintained. The author suggests using the laminas/laminas-router package instead.

Flexible routing system for HTTP and console applications


README

Repository abandoned 2019-12-31

This repository has moved to laminas/laminas-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.