Reputation: 5084
In Kohana You can test routes like this
$route = Route::get('admin');
echo Kohana_Debug::dump($route->matches('admin/user/edit/10'));
and how can I test routes in symfony2.
Upvotes: 3
Views: 2794
Reputation: 225
Did you try console commands ? Take a look at the documentation page documentation page
php app/console router:debug
php app/console router:debug article_show
php app/console router:match /blog/my-latest-post
Upvotes: 7