mercredi 15 avril 2020

Why Class 'Aws\Laravel\AwsServiceProvider' not found in laravel 7.0?

I installed package composer require league/flysystem-aws-s3-v3 After installation,

Added Aws\Laravel\AwsServiceProvider::class to 'providers' array.

Added 'AWS' => Aws\Laravel\AwsFacade::class, to 'aliases' array.

When I am trying to execute php artisan vendor:publish --provider="Aws\Laravel\AwsServiceProvider"

its throwing error :

In ProviderRepository.php line 208:

Class 'Aws\Laravel\AwsServiceProvider' not found

I have already done Composer update, composer dump-autoload

then error is "In ProviderRepository.php line 208:

Class 'Aws\Laravel\AwsServiceProvider' not found

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1"



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire