Download the PHP package yuecode/image without Composer
On this page you can find all versions of the php package yuecode/image. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yuecode/image
More information about yuecode/image
Files in yuecode/image
Download yuecode/image
More information about yuecode/image
Files in yuecode/image
Please rate this library. Is it a good library?
Informations about the package image
腾讯云万象优图SDK For Laravel
腾讯云万象优图SDK
安装
执行 composer 命令安装拓展
在config/app.php中的 Provider 中添加
执行 php artisan vendor:publish,将自动在 config/ 目录下生成 image.php 文件,修改配置文件中的对应选项。
配置完成后,在需要使用的文件中使用
然后使用静态方法调用 比如
方法列表
| 方法名 | 备注 |
|---|---|
| uploadImage | 上传图片,万象优图V2接口 |
| statImage | 查询图片信息,万象优图V2接口 |
| copyImage | 复制图片,万象优图V2接口 |
| delImage | 删除图片,万象优图V2接口 |
| uploadImageV1 | 上传图片,万象优图V1接口 |
| statImageV1 | 查询图片信息,万象优图V1接口 |
| copyImageV1 | 复制图片,万象优图V1接口 |
| delImageV1 | 删除图片,万象优图V1接口 |
| uploadVideo | 上传视频 |
| statVideo | 查看视频状态 |
| delVideo | 删除视频文件 |
| pornDetect | 智能鉴黄,参数为URL |
| pornDetectUrl | 多图片智能鉴黄,参数为URL构成的array |
| pornDetectFile | 图片文件只能鉴黄,参数为文件的array |
版本说明
V1版本:万象优图第一个版本,无bucket概念,控制台创建的是应用; V2版本:万象优图第二个版本,首次提出bucket概念; V2加强版:万象优图第三个版本,有bucket概念,采用新的实时处理风格,fileid支持特殊字符,支持回源镜像、样式下载别名、样式分隔符。
V2 和 V2加强版使用V2接口即可。
All versions of image with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.9
The package yuecode/image contains the following files
Loading the files please wait ...