Sorry: "Forum\": "app/src/" should be ---> "MyApp\": "app/src/"
Composer update is for updating packages. You need to update the autoloader so it can recognize the new classes(namespaces).
composer dump-autoload -o
The -o flag is for optimization. It converts PSR autoloading to classmap for faster autoloading.. They say it's been proven to boost up speed up to 20%.
Whoops I meant to write dump-autoload not update in the post! Thanks for the reply but that didn't seem to solve the issue. Same issue using psr-0 also..
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us