This is a Flysystem Adapter for the AliCloud OSS ~1.2.1
composer require hskyzhou/aliyun-oss-flysystem
其中access_id,access_key,bucket,endpoint都是在阿里云中获取
'oss' => [ 'driver' => 'oss', 'access_id' => env('OSS_ACCESS_ID'), 'access_key' => env('OSS_ACCESS_KEY'), 'bucket' => env('OSS_BUCKET'), 'endpoint' => env('OSS_ENDPOINT'), 'prefix' => env('OSS_PREFIX'), // optional 'schema' => env('OSS_SCHEMA'), //确定访问是通过http或者https ],
OSS_ACCESS_ID= OSS_ACCESS_KEY= OSS_BUCKET= OSS_ENDPOINT= OSS_PREFIX= OSS_SCHEMA=http