I have many routes declared in my slim application. Some of these have route parameters
$app->get("/:user/profile",function($user) use($app){ ... });
$app->get("/test/:id",function($id) use($app){ ... });
For example if I call:
http://myhost/test/1
It is suitable for both routes, then the declaration order is very important! Is there any way to give priority to static router from parametrized?