Routing Library

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Does anybody know of a simple, reliable PHP-based URL routing library?
I have found two candidates, neither of which meets my requirements:

* routemap: /
* Horde Routes: /

routemap is too direct: It dispatches directly to static class
methods, thus enforcing a structure.

Horde Routes do not behave as documented on the website. Note that the
returned match array below has no controller set.

$map = new Horde_Routes_Mapper();
$map->createRegs(array('test', 'cat', 'dog'));
var_dump($map->match('/test')); // array with action => 'index' and id
=> null


Re: Routing Library

Quoted text here. Click to load it

I heard some promising things about this routing library and I planned
to try/use it in my future projects. Has anyone more experience with
it? :)

Site Timeline