2017 © Pedro Peláez
 

library aliyuncs

Aliyuncs for php

image

llwch/aliyuncs

Aliyuncs for php

  • Wednesday, April 4, 2018
  • by q312700254
  • Repository
  • 1 Watchers
  • 2 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Aliyuncs for php

就是一个封装了阿里云图片鉴黄,涉政暴恐,场景API的composer包,给自己用的。。。。。, (*1)

Contents

Installation

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)

Example

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;
    }
}

The Versions

04/04 2018

dev-master

9999999-dev

Aliyuncs for php

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

by wuchao

04/04 2018

v1.0

1.0.0.0

Aliyuncs for php

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

by wuchao