Class "Modules\AdminModule\Providers\AdminModuleServiceProvider" not found is an error I'm encountering when I create a module in Laravel called AdminModule.
When I attempted to utilize the composer dump auto-load command, I also encountered issues like
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
"merge-plugin": {
"include": [
"Modules/*/composer.json"
]
}
Manually need to add the above code in composer.json file. After we run the command composer dump-autoload