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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package yuecode/image contains the following files

Loading the files please wait ....