TreeRoute icon indicating copy to clipboard operation
TreeRoute copied to clipboard

Results 5 TreeRoute issues
Sort by recently updated
recently updated
newest added

I did not expect to find this bug but I checked it many times and I got the same result. Given these routes: ``` /route/one /route/{one}/two /route/{one}/{two}/three ``` TreeRoute can...

another php router match uri in tree struct https://github.com/bephp/router

How can I add optional parameter to url? For example I want to handle 2 links on 1 method: /news/1 /news/1/some-title so how should my code look? `$router->get('/news/{id:[0-9]+}[/title:[A-Z]+]', 'handler2');`

Currently, if I want to extend the Router class and modify the addRoute method, I have to copy the private properties and the private methods in the original class to...

URL parts with multiple parameters is a common scenario, supported by every router I know of - for some reason, it doesn't work with this router. I wrote the following...