Reputation: 367
Whenever I do composer update
or artisan cache:clear
and I get the following error:
[Symfony\Component\Debug\Exception\FatalThrowableError]
Fatal error: Class 'Aws\Laravel\AwsServiceProvider' not found
My app.php config file doesn't contain the AWS in the providers and or aliases. I've tried adding 'Aws\Laravel\AwsServiceProvider::class,'
under providers and 'AWS => Aws\Laravel\AwsFacade::class,'
under aliases but still the same issue. I think something is caching weird and doesn't recognize the updates I'm doing on app.php config file.
Upvotes: 4
Views: 3994
Reputation: 510
bootstrap/cache
composer dump-autoload
config/aws.php
if it existscomposer install
Upvotes: 3
Reputation: 2945
just do a : composer dump-autoload
and after that try to run you command like normal: composer update
Upvotes: 0