It's to do with your namespace. In the vast majority of examples, you'll see the Extension folder (in your case) inside app, but the namespace starts at 'Extension' not 'App'.
Make sure you have added PSR-0 or PSR-4 auto loading to your composer.json file. If you were to retain the Extension namespace, it would look like this:
"autoload": {
"psr-0": {
"Extension": "app/"
}
},
Then you would rename your namespaces in your files to start with Extension, not App.
Good luck!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community