Download the PHP package yangyifan/upload without Composer
On this page you can find all versions of the php package yangyifan/upload. 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 upload
安装
- 。
- 添加 到您项目 中。
- 支持七牛,upyun,oss。
- 完成按照官方 来扩展。所以不需要修改代码,只需要新增配置文件信息,就可以替换任何一种存储引擎。
开始
-
use Storage
- 示例代码
注意:详细使用,可以参考单元测试里面的代码。
配置信息
注意:请在 中的 数组下面加入以下配置。
其他
- 如果需要支持其他的上传引擎,请联系我,如果我有空,我会去扩展,希望这个能帮助大家开发,谢谢,有问题pr我,或者邮件联系我,我的邮箱是:[email protected]。
更新
2016-12-03
- 新增单元测试
2016-12-03
- 新增腾讯 COS 对象存储(如果可以不要去用,坑有点多。)
- 新增 getUrl 方法
计划
- 新增分片上传
- 继续完善更多场景的单元测试
协议
MIT
All versions of upload with dependencies
PHP Build Version
Package Version
Requires
qiniu/php-sdk Version
v7.0.*
aliyuncs/oss-sdk-php Version *
league/flysystem Version ^1.0
yangyifan/config-helper Version 0.1
yangyifan/library-helper Version v0.1
aliyuncs/oss-sdk-php Version *
league/flysystem Version ^1.0
yangyifan/config-helper Version 0.1
yangyifan/library-helper Version v0.1
The package yangyifan/upload contains the following files
Loading the files please wait ....