kaikaige / yii2-oss
aliyun oss
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- aliyuncs/oss-sdk-php: ~2.0
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2025-03-16 17:39:27 UTC
README
aliyun oss
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist kaikaige/yii2-oss "*"
or add
"kaikaige/yii2-oss": "*"
to the require section of your composer.json
file.
Usage
编辑配置文件
main.php
[
'components' => [
'oss' => [
'class' =>
]
]
]