PHPackages                             tiway/aliyun-content-security - 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. tiway/aliyun-content-security

ActiveLibrary

tiway/aliyun-content-security
=============================

阿里云内容安全

v1.1.0(3y ago)0165↓100%PHPPHP &gt;=5.3.0

Since Dec 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/tiway-deng/aliyun-content-security)[ Packagist](https://packagist.org/packages/tiway/aliyun-content-security)[ RSS](/packages/tiway-aliyun-content-security/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

aliyun-content-security
=======================

[](#aliyun-content-security)

阿里云内容安全

Installation
------------

[](#installation)

```
composer require tiway/aliyun-content-security:dev-master

```

Quick Examples
--------------

[](#quick-examples)

```

$aliyun = new AliyunGreen('appid','se');
######### 异步检测  ###########
//单图
$urls = 'https://jialai-dev.oss-cn-hangzhou.aliyuncs.com/default_avatar/13.jpg'
//多图验证
$urls = [
            'https://jialai-dev.oss-cn-hangzhou.aliyuncs.com/default_avatar/13.jpg',
            'https://jialai-dev.oss-cn-hangzhou.aliyuncs.com/circle/2020-12-09/64516872-6091-4F92-811F-8AF297E9FE72_400×400.png'
        ];
$msg = $aliyun->imageAsyncScan($urls);

######### 同步检测  ###########
//单图
$urls = 'https://jialai-dev.oss-cn-hangzhou.aliyuncs.com/default_avatar/13.jpg'
//多图验证
$urls = [
            'https://jialai-dev.oss-cn-hangzhou.aliyuncs.com/default_avatar/13.jpg',
            'https://jialai-dev.oss-cn-hangzhou.aliyuncs.com/circle/2020-12-09/64516872-6091-4F92-811F-8AF297E9FE72_400×400.png'
        ];
$msg = $aliyun->scan($urls);

###### 检查结果 ######
$body = [
            'fdd25f95-4892-4d6b-aca9-7939bc6e9baa-1486198766695',
            'fdd25f95-4892-4d6b-aca9-7939bc6e9baa-1486198766695'
        ];
$urls = 'https://jialai-dev.oss-cn-hangzhou.aliyuncs.com/default_avatar/13.jpg';

$msg = $aliyun->scan($urls,AliyunGreen::TYPE_IMAGE,AliyunGreen::TYPE_IMAGE_DEFAULT);

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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 ~283 days

Total

3

Last Release

1406d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/76a3ebaa47ac3948a5dc9a0f68bfeb7aac1349b739c28a28508f58650eef1885?d=identicon)[tiway-deng](/maintainers/tiway-deng)

---

Top Contributors

[![tiway-deng](https://avatars.githubusercontent.com/u/58939597?v=4)](https://github.com/tiway-deng "tiway-deng (10 commits)")

### Embed Badge

![Health badge](/badges/tiway-aliyun-content-security/health.svg)

```
[![Health](https://phpackages.com/badges/tiway-aliyun-content-security/health.svg)](https://phpackages.com/packages/tiway-aliyun-content-security)
```

###  Alternatives

[inccleo/green

阿里云内容安全

252.7k](/packages/inccleo-green)

PHPackages © 2026

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