razonyang/yii2-flysystem-aliyun-oss

Aliyun OSS Adapter for Yii2 Flysystem

Installs: 11 965

Dependents: 0

Suggesters: 0

Security: 0

Stars: 7

Watchers: 3

Forks: 1

Open Issues: 0

Type:yii2-extension

1.0.0 2019-08-30 10:32 UTC

This package is auto-updated.

Last update: 2024-11-29 06:16:08 UTC


README

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Total Downloads LICENSE

Installation

composer require razonyang/yii2-flysystem-aliyun-oss

Usage

Configuration:

return [
    'components' => [
        'aliyunOss' => [
            'class' => \RazonYang\Yii2\Flysystem\AliyunOssFilesystem::class,
            'accessKeyId' => '',
            'accessKeySecret' => '',
            'endpoint' => '', // endpoint
            'isCName' => false,
            'bucket' => '', // bucket name
        ],
    ],
];