我正在尝试将文件上传到 S3,但出现错误:
Class 'League\Flysystem\AwsS3v3\AwsS3Adapter' not found
我已经运行了这个命令:
composer require league/flysystem-aws-s3-v3:~1.0
我跑过composer update
composer info
显示了这一点:
我的composer.json
节目是这样的:
"require": {
"php": "^7.1.3",
"fideloper/proxy": "^4.0",
"larapack/config-writer": "^1.0",
"laravel/framework": "5.7.*",
"laravel/tinker": "^1.0"
},
"require-dev": {
"beyondcode/laravel-dump-server": "^1.0",
"filp/whoops": "^2.0",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^2.0",
"phpunit/phpunit": "^7.0"
},
我迷路了。不确定出了什么问题。