Slim4 - HELLO WORLD!

Hello!

This example is not working http://www.slimframework.com/docs/v4/start/installation.html

PHP Fatal error:  Uncaught Slim\Exception\HttpNotFoundException: Not found.

with this it works https://github.com/selective-php/basepath
so what was wrong in the BASIC HELLO WORLD example ?

Hi @Awilum The basic Hello World example (and all other examples) are very generic. They are all working as long as you put the app into the webservers document root directory.

As soon as you have a sub-directory (the case in most dev environments) you have to set the correct base path.