Skip to content

Commit a86a425

Browse files
committed
CDN
1 parent de2412c commit a86a425

File tree

5 files changed

+38
-90
lines changed

5 files changed

+38
-90
lines changed

.travis.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

README.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,38 @@
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+
```

phpunit.xml.dist

Lines changed: 0 additions & 13 deletions
This file was deleted.

tests/TestCase.php

Lines changed: 0 additions & 45 deletions
This file was deleted.

tests/bootstrap.php

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)