razonyang / yii2-flysystem-aliyun-oss
Aliyun OSS Adapter for Yii2 Flysystem
Installs: 11 865
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- php: ^7.1
- aliyuncs/aliyun-oss-flysystem: ^1.0
- creocoder/yii2-flysystem: ~0.9
Requires (Dev)
- codeception/codeception: ^3.0
- codeception/verify: ^1.1
- phpunit/phpunit: ^7
This package is auto-updated.
Last update: 2024-10-29 05:59:55 UTC
README
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 ], ], ];