I created a small application with SlimFramework v3 and I am able to build a simple route like this:
// GET localhost/admin
$app->get('/admin', function(){
# code here
});
My problem is that this work only for localhost/admin and not for localhost/admin/ (with final backslash). Is there any option to use ONE route for both?