Download the PHP package dcb9/yii2-qiniu without Composer
On this page you can find all versions of the php package dcb9/yii2-qiniu. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-qiniu
Qiniu Extension for Yii2
The Qiniu integration for the Yii framework
CHANGE LOG
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require
section of your composer.json.
Configuration
To use this extension, simply add the following code in your application configuration:
资源操作
资源操作就 Flysystem 的一个扩展, 所以所有的调用方法与 Flysystem 调用方法一致.
上传策略
默认设置 Policy 是使用 Array 的方式来设置的, 但是这种方式对程序员不是很友好,于是创建了一个 Policy 的类,但所有的操作还是跟操作数组一样.
获取 UploadToken
使用 Token 上传文件
Tricks
- 给配置的组件加 IDE 自动补全 IDE autocompletion for custom components
All versions of yii2-qiniu with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
*
php Version >=5.4.0
qiniu/php-sdk Version v7.0.7
league/flysystem Version ~1.0
php Version >=5.4.0
qiniu/php-sdk Version v7.0.7
league/flysystem Version ~1.0
The package dcb9/yii2-qiniu contains the following files
Loading the files please wait ....