When running composer update it works until @php artisan package:discover
I then got:
In ProviderRepository.php line 208:
Class ‘BarryvdhCorsServiceProvider’ not found
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
So php artisan does not work at all. So what could be the problem?