A lightning fast router for PHP

Installs: 1 049

Dependents: 1

Stars: 3

Watchers: 2

Open Issues: 2

1.5 2015-02-03 17:41 UTC


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)


  1. Overview, installation & getting started
  2. Constructing routes
  3. Handling requests
  4. Generating URLs

There are usage examples in the tests.