PHPackages                             yuecode/image - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. yuecode/image

ActiveLibrary[Image &amp; Media](/categories/media)

yuecode/image
=============

Qcloud Image Service

1.0.1(9y ago)31231[1 issues](https://github.com/YueCode/php-image/issues)MITPHPPHP &gt;=5.5.9

Since Mar 6Pushed 9y ago3 watchersCompare

[ Source](https://github.com/YueCode/php-image)[ Packagist](https://packagist.org/packages/yuecode/image)[ RSS](/packages/yuecode-image/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

腾讯云万象优图SDK For Laravel
======================

[](#腾讯云万象优图sdk-for-laravel)

腾讯云万象优图SDK

### 安装

[](#安装)

执行 `composer` 命令安装拓展

```
composer require yuecode/image:dev-master

```

在`config/app.php`中的 Provider 中添加

```
\Yuecode\Image\ImageProvider::class,

```

执行 `php artisan vendor:publish `,将自动在 `config/` 目录下生成 `image.php` 文件，修改配置文件中的对应选项。

配置完成后，在需要使用的文件中使用

```
use Yuecode\Image\YouTu;
```

然后使用静态方法调用 比如

```
 $res = YouTu::pornDetectUrl(
           array(
               "http://www.bz55.com/uploads/allimg/140805/1-140P5162300-50.jpg","http://img.taopic.com/uploads/allimg/130716/318769-130G60P30462.jpg"
           )
        );
dd($res);
```

### 方法列表

[](#方法列表)

方法名备注uploadImage上传图片，万象优图V2接口statImage查询图片信息，万象优图V2接口copyImage复制图片，万象优图V2接口delImage删除图片，万象优图V2接口uploadImageV1上传图片，万象优图V1接口statImageV1查询图片信息，万象优图V1接口copyImageV1复制图片，万象优图V1接口delImageV1删除图片，万象优图V1接口uploadVideo上传视频statVideo查看视频状态delVideo删除视频文件pornDetect智能鉴黄，参数为URLpornDetectUrl多图片智能鉴黄，参数为URL构成的arraypornDetectFile图片文件只能鉴黄，参数为文件的array### 版本说明

[](#版本说明)

V1版本：万象优图第一个版本，无bucket概念，控制台创建的是应用； V2版本：万象优图第二个版本，首次提出bucket概念； V2加强版：万象优图第三个版本，有bucket概念，采用新的实时处理风格，fileid支持特殊字符，支持回源镜像、样式下载别名、样式分隔符。

V2 和 V2加强版使用V2接口即可。

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~53 days

Total

2

Last Release

3350d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/44cb3c983f7073fdd157af9ca2818c368256ec64defec7fa07be06dcfae7f383?d=identicon)[Bestony](/maintainers/Bestony)

---

Top Contributors

[![bestony](https://avatars.githubusercontent.com/u/13283837?v=4)](https://github.com/bestony "bestony (12 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yuecode-image/health.svg)

```
[![Health](https://phpackages.com/badges/yuecode-image/health.svg)](https://phpackages.com/packages/yuecode-image)
```

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

135911.1k3](/packages/goat1000-svggraph)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)[rsoury/wp-imgix

Rewrites WordPress image URLs to use ImgIX

167.2k](/packages/rsoury-wp-imgix)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
