I am just starting to work with Slim PHP. What could be the reason that get is not recognized on server? This route works: it returns required text https://mywebsite/back/public This route doesn’t …
Tag: slim-3
Passing a Slim 3 Exception response to an Angular application
I’m creating an authentication system that uses Slim 3 PHP on the back-end and Angular on the front-end. So far I’ve managed to have it so a user can fill out a form on the frontend and send a post …
Slim 3: how to access settings?
Before the Slim 3 is released, codes below work fine: settings.php, index.php MyClass.php But after the release, I get this error below: Notice: Undefined property: SlimApp::$settings in /… So I can’t use $app->settings anymore? What should I use then? Answer You can get settings like this: