PHPackages                             dh2y/aliyun-push - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. dh2y/aliyun-push

ActiveProject

dh2y/aliyun-push
================

aliyun-push SDK

114PHP

Since Jun 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/cinaofdai/aliyun-php-sdk-cdn)[ Packagist](https://packagist.org/packages/dh2y/aliyun-push)[ RSS](/packages/dh2y-aliyun-push/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

aliyun-php-sdk-cdn
==================

[](#aliyun-php-sdk-cdn)

阿里云CDN推送SDK包

使用方法
----

[](#使用方法)

资料见:[https://help.aliyun.com/document\_detail/27257.html?spm=5176.doc27234.6.709.aWpyJz](https://help.aliyun.com/document_detail/27257.html?spm=5176.doc27234.6.709.aWpyJz)

**SDK示例**

```
 AliyunCdn::start();
 $c = new \AliyunClient;
 $c->accessKeyId = "";
 $c->accessKeySecret = "";
 $c->serverUrl = ""; //根据不同产品选择相应域名，例如：CDN，http://cdn.aliyuncs.com/

 //刷新缓存
 $req = new \Cdn20141111RefreshObjectCachesRequest();
 $req->setObjectType("File"); // or Directory
 $req->setObjectPath("www.yourdomain.com/path/filename.ext");
 try {
     $resp = $c->execute($req);
     if(!isset($resp->Code))
     {
         //刷新成功
         echo($resp->RequestId);
         print_r($resp);
     }
     else
     {
         //刷新失败
         $code = $resp->Code;
         $message = $resp->Message;
     }
 }
 catch (Exception $e)
 {
     // TODO: handle exception
 }
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc26237555d75149f5e33dbfa820b3467ec5c700035c4fa74d6fe5c52e9bd21d?d=identicon)[cinaofdai](/maintainers/cinaofdai)

---

Top Contributors

[![cinaofdai](https://avatars.githubusercontent.com/u/20353921?v=4)](https://github.com/cinaofdai "cinaofdai (1 commits)")

### Embed Badge

![Health badge](/badges/dh2y-aliyun-push/health.svg)

```
[![Health](https://phpackages.com/badges/dh2y-aliyun-push/health.svg)](https://phpackages.com/packages/dh2y-aliyun-push)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
