dev-master
9999999-devThis is a Flysystem adapter for the Aliyun OSS.
MIT
The Requires
aliyun flysystem oss
1.0.0
1.0.0.0This is a Flysystem adapter for the Aliyun OSS.
MIT
The Requires
aliyun flysystem oss
Wallogit.com
2017 © Pedro Peláez
This is a Flysystem adapter for the Aliyun OSS.
This is a Flysystem adapter for the Aliyun OSS, (*1)
composer require xutl/flysystem-aliyun-oss
This service provider must be registered., (*2)
// config/app.php
'providers' => [
'...',
XuTL\Flysystem\AliyunOss\AliyunOssServiceProvider::class,
];
edit the config file: config/filesystems.php, (*3)
add config, (*4)
'oss' => [
'driver' => 'oss',
'access_id' => env('OSS_ACCESS_ID','your id'),
'access_key' => env('OSS_ACCESS_KEY','your key'),
'bucket' => env('OSS_BUCKET','your bucket'),
'endpoint' => env('OSS_ENDPOINT','your endpoint'),
'prefix' => env('OSS_PREFIX', ''), // optional
],
change default to oss, (*5)
'default' => 'oss'
see Laravel wiki, (*6)
This is a Flysystem adapter for the Aliyun OSS.
MIT
aliyun flysystem oss
This is a Flysystem adapter for the Aliyun OSS.
MIT
aliyun flysystem oss