Download the PHP package yuanhang/easy-upload without Composer
On this page you can find all versions of the php package yuanhang/easy-upload. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yuanhang/easy-upload
More information about yuanhang/easy-upload
Files in yuanhang/easy-upload
Download yuanhang/easy-upload
More information about yuanhang/easy-upload
Files in yuanhang/easy-upload
Vendor yuanhang
Package easy-upload
Short Description Integrate Qiniu and Ali OSS,Compatible with ThinkPhp 5,5.1,6 Laravel
License Apache-2.0
Package easy-upload
Short Description Integrate Qiniu and Ali OSS,Compatible with ThinkPhp 5,5.1,6 Laravel
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package easy-upload
GitHub:整合阿里云Oss,七牛云上传,兼容Thinkphp5.1
- 文件大小验证
- 文件Mime类型验证
- 文件后缀名验证
- 批量删除
- 批量上传
- 临时目录
- 临时目录替换
- 获取可访问地址
V1..版本 运行环境要求PHP5.6+,七牛sdk7.3+,ossSdk2.3+。
V2+版本 运行环境要求PHP7.4+,七牛sdk7.3+,ossSdk2.3+。
安装
使用composer安装
使用
设置配置
获取实例
上传图片
上传文件
获取可访问地址
把文件从临时目录移动到正式目录 (文件地址,是否图片,是否绝对路径)
删除文件
返回值
单文件上传成功
单文件上传失败
多文件上传成功
多文件上传失败
其他方法均以抛出异常方式返回
目录结构
配置文件示例
All versions of easy-upload with dependencies
PHP Build Version
Package Version
The package yuanhang/easy-upload contains the following files
Loading the files please wait ....