laravel Framework is 7.9.2.
composer require league/flysystem-aws-s3-v3 ~1.0 installed to use aws s3.
It runs on localhost, but when I put it on the aws server,
Error: Class 'League\Flysystem\AwsS3v3\AwsS3Adapter' not found error appears.
However, when I checked with composer licenses,
It is identified as league/flysystem v1.0.67 MIT.
I don't know what the problem is. If you have any difficulties like me, please help me.
This probably isn't going to help you, but I stumbled across this looking for a solution to the same error. It looks like the League S3 AWS V3 adapter had an upgrade and the version 2 branch doesn't use the same class names. I specified the version I wanted like this in composer.json and that seemed to sort it out:
"league/flysystem-aws-s3-v3": "1.0.29",
Maybe you should try run this command in terminal
composer require league/flysystem-aws-s3-v3 ^1.0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With