php-laminas-router - Laminas Framework Router component
- Remi Collet
laminas-router provides flexible HTTP routing.
Routing currently works against the laminas-http request and responses,
and provides capabilities around:
* Literal path matches
* Path segment matches (at path boundaries, and optionally validated
* Regular expression path matches
* HTTP request scheme
* HTTP request method
Additionally, it supports combinations of different route types in tree
structures, allowing for fast, b-tree lookups.