New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

shion/aliyun-oss

Flysystem adapter for the Aliyun OSS
27 3
Install
composer require shion/aliyun-oss
Latest Version:0.1.1
PHP:>=5.5.0
Laravel:5
License:MIT
Last Updated:May 31, 2016
Links: GitHub  ·  Packagist
Maintainer: Shion

#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-1 and southeast-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

orzcc/aliyun-oss

Aliyun oss for Laravel5, also support flysystem adapter

25,637 28
larva/laravel-flysystem-oss

This is a Flysystem adapter for the Aliyun OSS.

2,706 6
overnic/laravel-aliyun-oss

Aliyun oss for Laravel5, also support flysystem adapter

31 0
johnlui/aliyun-oss

阿里云 OSS 官方 SDK 的 Composer 封装,支持任何 PHP 项目,包括 Laravel、Symfony、...

182,044 488
shrekuu/aliyun-oss

阿里云 OSS 官方 SDK 的 Composer 封装,支持任何 PHP 项目,包括 Laravel、Symfony、...

222 0

Version History

Version Released PHP Laravel License
0.1.1 >=5.5.0 ~5.0 MIT
0.1.0 >=5.5.0 ~5.0 MIT