aliyunapi / php-aliyun-open-api-cdn
aliyunsdk
Installs: 1 295
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: >=5.5.0
- aliyunapi/guzzle-subscriber: ~1.0
This package is auto-updated.
Last update: 2024-10-11 03:38:46 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;