1
I saw a question similar to mine, but I tried the proposed solution and it does not find the class at all. I’m already getting discouraged in using the Poser autoloader.
Important: My environment is Windows (Server 2016) with IIS. the physical structure of my directory is like this:
my Composer.json (same index.php directory) looks like this:
My index is like this:
My Settings class like this:
I’ve tried several variations on use and namespace. The answer is always the same:
Fatal error: Uncaught Error: Class 'Edant Settings' not found in D: WEB WS edant index.php:9 Stack trace: #0 {main} thrown in D: WEB WS edant index.php on line 9
Where am I going wrong?
Present the code in text form, not image, I recommend you read here: https://pt.meta.stackoverflow.com/a/5485/28595
– user28595
Note the writing scr in the autoload. src != scr
– Marcos Xavier