smrtr / haltorouter
A lightning fast HTTP router for PHP
1.5
2015-02-03 17:41 UTC
Requires
- php: >=5.3.0
Requires (Dev)
- phpunit/phpunit: 3.7.20
This package is not auto-updated.
Last update: 2026-02-25 19:41:21 UTC
README
HaltoRouter is a small but powerful routing class for PHP 5.3+. HaltoRouter is a hard fork of AltoRouter with the basepath functionality stripped out and hostgroup functionality baked in.
- Dynamic routing with named parameters
- Reversed routing (url generation)
- Host matching via flexible hostgroups
- Flexible regular expression routing (inspired by Sinatra)
Tutorial
There are usage examples in the tests.