It seems that there is a conflict between MAMP and Slim framework on my environment.
I am trying to learn Slim, and I have this weird situation where I can create a route for '/', but impossible to do it for '/contact'.
$app->get('/', \App\Controllers\PagesController::class . ':home');
$app->get('/contact', \App\Controllers\PagesController::class . ':getContact');
Slim seems to catch the / route, but when I type http://localhost:8888/contact/ in my browser Slim doesn't catch the request, I have a 404...
I tried to create a real "contact" folder with an index.html file inside, and of course then it works... it displays the index.html