File tree Expand file tree Collapse file tree 5 files changed +38
-90
lines changed Expand file tree Collapse file tree 5 files changed +38
-90
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- # php-aliyun-open-api-cdn
1+ # php-aliyun-open-api-cdn
2+
3+ Installation
4+ ------------
5+
6+ The preferred way to install this extension is through [ composer] ( http://getcomposer.org/download/ ) .
7+
8+ Either run
9+
10+ ```
11+ php composer.phar require --prefer-dist aliyunapi/php-aliyun-open-api-cdn
12+ ```
13+
14+ or add
15+
16+ ```
17+ "aliyunapi/php-aliyun-open-api-cdn": "~1.0"
18+ ```
19+
20+ to the require section of your composer.json.
21+
22+ 使用方式
23+ ------------
24+ ```
25+ $client = new \aliyun\cdn\Client([
26+ 'accessKeyId' => '123456',
27+ 'accessSecret' => '123456'
28+ ]);
29+
30+ //@sec https://help.aliyun.com/document_detail/27158.html
31+ $package = [
32+ 'Action' => 'DescribeCdnService',
33+ //etc...
34+ ];
35+ $response = $client->createRequest($package);
36+ print_r($response);
37+ exit;
38+ ```
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments