PHPackages                             eddy/chinanetcdn - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. eddy/chinanetcdn

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

eddy/chinanetcdn
================

chinanetcdn

1.0.2(7y ago)321MITPHPPHP &gt;=5.4

Since Oct 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/eddy8/ChinaNetCDN)[ Packagist](https://packagist.org/packages/eddy/chinanetcdn)[ RSS](/packages/eddy-chinanetcdn/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

网宿科技CDN SDK

说明
--

[](#说明)

网宿科技CDN API参考手册（登录客户服务系统后可下载对应文档）：

http 请求使用 Guzzle 三方库（v5.3），具体文档可参考：

安装
--

[](#安装)

```
composer require eddy/chinanetcdn

```

使用方法
----

[](#使用方法)

```
// 实例化客户端
$client = new eddy\ChinaNetCDNClient('username', 'password');

// 发送请求
// 任务查询
$response = $client->queryReceiver([
    'starttime' => date('Y-m-d H:i:s', strtotime('-6 days')),//开始时间
    'endtime' => date('Y-m-d H:i:s'),//结束时间
    ]);
$response = $client->contReceiver();

// 更新
$response = $client->contReceiver(
    [
        'url' => 'http://www.pc6.com/azyx/142394.html;http://www.pc6.com/azyx/203556.html',//url地址。多个url用分号相隔
        'dir' => 'http://www.pc6.com/azyx/',//目录地址
    ]
);

if ($response !== false) {
    // http 请求返回内容
    echo $response->getBody();
    // http 响应状态码
    echo $response->getStatusCode();
}

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~333 days

Total

3

Last Release

2872d ago

### Community

Maintainers

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

---

Top Contributors

[![eddy8](https://avatars.githubusercontent.com/u/2555476?v=4)](https://github.com/eddy8 "eddy8 (5 commits)")

---

Tags

phpsdkcdnchinanetcdnwangsu

### Embed Badge

![Health badge](/badges/eddy-chinanetcdn/health.svg)

```
[![Health](https://phpackages.com/badges/eddy-chinanetcdn/health.svg)](https://phpackages.com/packages/eddy-chinanetcdn)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[volcengine/volc-sdk-php

Volcengine SDK for PHP

35129.1k5](/packages/volcengine-volc-sdk-php)

PHPackages © 2026

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