2017 © Pedro Peláez
 

library aliyuncdn

AliYunCDN

image

eddy/aliyuncdn

AliYunCDN

  • Wednesday, March 29, 2017
  • by eddy8
  • Repository
  • 1 Watchers
  • 0 Stars
  • 52 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

阿里云CDN SDK, (*1)

说明

阿里云CDN API参考手册:https://help.aliyun.com/document_detail/27155.html, (*2)

http 请求使用 Guzzle 三方库(v5.3),具体文档可参考:https://github.com/guzzle/guzzle, (*3)

安装

composer require eddy/aliyuncdn

使用方法

// 实例化客户端
$client = new eddy\AliYunCDNClient('key', 'secret');
// 发送请求
$response = $client->RefreshObjectCaches(['ObjectPath' => 'url']);
if ($response !== false) {
    // http 请求返回内容
    echo $response->getBody();
    // http 响应状态码
    echo $response->getStatusCode();
}

The Versions

29/03 2017

dev-master

9999999-dev

AliYunCDN

  Sources   Download

MIT

The Requires

 

by Eddy

29/03 2017

1.0.3

1.0.3.0

AliYunCDN

  Sources   Download

MIT

The Requires

 

by Eddy

22/10 2016

1.0.2

1.0.2.0

AliYunCDN

  Sources   Download

MIT

The Requires

 

by Eddy

20/10 2016

1.0.1

1.0.1.0

AliYunCDN

  Sources   Download

MIT

The Requires

 

by Eddy

20/10 2016

1.0.0

1.0.0.0

AliYunCDN

  Sources   Download

MIT

The Requires

 

by Eddy