https://odan.github.io/2019/11/05/slim4-tutorial.html
If you liked the tutorial, please click here on the star button: https://github.com/odan/slim4-tutorial
For technical questions create an issue here: https://github.com/odan/slim4-tutorial/issues
If you have Slim framework specific questions use: https://discourse.slimframework.com/
Write your comments / suggestions / feedback here 👇
Hi @odan, thank you for the response.
just downloaded your code from github, yes BasePathMiddleware added. As said everything works fine when i start the php server inside public/index of my
slim4
project directory like `php -S 0.0.0.0:8080 -t public public/index.phpbut i get 404 when i start the server outside the
slim4
folder likephp -S 0.0.0.0:8080
i am wondering how the program is determining which folder to run in browser because there are so many other php project.
error image