llwch / aliyuncs
Aliyuncs for php
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/llwch/aliyuncs
Requires
- php: >=5.3.3
Requires (Dev)
This package is not auto-updated.
Last update: 2025-10-12 11:31:48 UTC
README
就是一个封装了阿里云图片鉴黄,涉政暴恐,场景API的composer包,给自己用的。。。。。
Contents
Installation
With composer
composer require llwch/aliyuncs
Or add
"llwch/aliyuncs": "dev-master"
to your composer.json. Then run composer install
or composer update
.
Example
An example of how to used:
<?php use AliyunCs\Client\ImageSyncScanRequestClient; class ImageSyncScan { public function handle() { $accessKey = 'xxxxxxxxxxxxx'; $secretKey = 'xxxxxxxxxxxxx'; $handleImg = 'http://www.xxxx.com/xxx.jpg'; $handleImg = [ 'http://www.xxxx.com/xxx.jpg', 'http://www.xxxx.com/xxx.jpg' ]; $imageSyncScanResults = (new ImageSyncScanRequestClient($accessKey, $secretKey))->request($handleImg); //TODO; } }