Skip to content

JimChenWYU/yii2-flysystem-aliyun-oss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-flysystem-aliyun-oss

The Flysystem AliyunOss adapter for the Yii framework

Installing

$ composer require jimchen/yii2-flysystem-aliyun-oss -vvv

Usage

Configure application components as follows

return [
    //...
    'components' => [
        //...
        'ossFs' => [
            'class' => 'jimchen\flysystem\AliyunOssFilesystem',
            'key' => 'your-key',
            'secret' => 'your-secret',
            'bucket' => 'your-bucket',
            'endpoint' => 'http://my-custom-url',
            // 'isCName' => false,
            // 'securityToken' => null,
            // 'requestProxy' => null,
            // 'prefix' => 'your-prefix',
            // 'options' => [],
        ],
    ],
];

More about AliyunOss configuration please see here.

What about the options you can follow the repo to see more.

License

MIT

About

🌈The Flysystem AliyunOss adapter for the Yii framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages