A web router implementation for PHP.
Powerful, flexible web routing for PSR-7 requests.
This package is installable and PSR-4 autoloadable via Composer as aura/router.
Alternatively, download a release, or clone this repository, then map the
Aura\Router\namespace to the package
This package requires PHP 5.5 or later; it has been tested on PHP 5.6, PHP 7, PHP 7.1 and HHVM. We recommend using the latest available version of PHP as a matter of principle.
Aura library packages may sometimes depend on external interfaces, but never on external implementations. This allows compliance with community standards without compromising flexibility. For specifics, please examine the package composer.json file.
To run the unit tests at the command line, issue
composer installand then
./vendor/bin/phpunitat the package root. (This requires Composer to be available as
This package is fully documented here.
There is also a video demonstration on YouTube: