2017 © Pedro Peláez
 

library flysystem-aliyun-oss

This is a Flysystem adapter for the Aliyun OSS.

image

xutl/flysystem-aliyun-oss

This is a Flysystem adapter for the Aliyun OSS.

  • Friday, June 8, 2018
  • by xutl
  • Repository
  • 0 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

flysystem-aliyun-oss

This is a Flysystem adapter for the Aliyun OSS, (*1)

Installation

composer require xutl/flysystem-aliyun-oss

for Laravel

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'

Use

see Laravel wiki, (*6)

The Versions

08/06 2018

dev-master

9999999-dev

This is a Flysystem adapter for the Aliyun OSS.

  Sources   Download

MIT

The Requires

 

aliyun flysystem oss

07/06 2018

1.0.0

1.0.0.0

This is a Flysystem adapter for the Aliyun OSS.

  Sources   Download

MIT

The Requires

 

aliyun flysystem oss