dev-master
9999999-devAliyuncs for php
MIT
The Requires
- php >=5.3.3
The Development Requires
by wuchao
v1.0
1.0.0.0Aliyuncs for php
MIT
The Requires
- php >=5.3.3
The Development Requires
by wuchao
Wallogit.com
2017 © Pedro Peláez
Aliyuncs for php
就是一个封装了阿里云图片鉴黄,涉政暴恐,场景API的composer包,给自己用的。。。。。, (*1)
With composer, (*2)
composer require llwch/aliyuncs
Or add, (*3)
"llwch/aliyuncs": "dev-master"
to your composer.json. Then run composer install or composer update., (*4)
An example of how to used:, (*5)
<?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;
}
}
Aliyuncs for php
MIT
Aliyuncs for php
MIT