shion/aliyun-oss
#Shion\Aliyun\OSS Flysystem adapter for the Aliyun OSS, support for Laravel.
Installation
Through Composer, obviously:
composer require shion/aliyun-oss
Once Aliyun OSS is installed, you need to register the service provider. Open up config/app.php and add the following to the providers key.
Shion\Aliyun\OSS\OSSServiceProvider::class
Configuration
'oss' => [
'driver' => 'oss',
'access_id' => 'your_access_id',
'access_key' => 'your_access_key',
'bucket' => 'bucket_name',
'region' => 'bucket_region',
'internal_mode' => false,
],
region
The region of Aliyun OSS Data Center. Accepted region are
hangzhou,qingdao,beijing,hongkong,shenzhen,shanghai,west-1andsoutheast-1.
internal_mode
Use the internal mode. Provided that your ECS and Bucket in the same region.
##Usage Visit http://laravel.com/docs/5.1/filesystem
Related Packages
outyua/ali-oss-storage
aliyun oss filesystem storage for laravel 5+, fork from `https://github.com/jaco...
49
0
calchen/flysystem-aliyun-oss
用于阿里云对象存储(OSS)的 Flysystem Adapter(Flysystem Adapter for Aliyun OSS...
1,179
7