aliyunapi/php-aliyun-open-api-cdn

1.0.0 2017-03-29 01:36 UTC

This package is auto-updated.

Last update: 2024-12-11 03:57:48 UTC


README

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist aliyunapi/php-aliyun-open-api-cdn

or add

"aliyunapi/php-aliyun-open-api-cdn": "~1.0"

to the require section of your composer.json.

使用方式

$client = new \aliyun\cdn\Client([
    'accessKeyId' => '123456',
    'accessSecret' => '123456'
]);

//@sec https://help.aliyun.com/document_detail/27158.html
$package = [
    'Action' => 'DescribeCdnService',
    //etc...
];
$response = $client->createRequest($package);
print_r($response);
exit;