PHPackages                             lokielse/aliyun-open-api-cdn - 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. [API Development](/categories/api)
4. /
5. lokielse/aliyun-open-api-cdn

ActiveLibrary[API Development](/categories/api)

lokielse/aliyun-open-api-cdn
============================

The CDN SDK for Aliyun OpenAPI

v1.0.0(9y ago)16601[1 issues](https://github.com/lokielse/php-aliyun-open-api-cdn/issues)MITPHPPHP &gt;=5.3.0

Since Jul 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/lokielse/php-aliyun-open-api-cdn)[ Packagist](https://packagist.org/packages/lokielse/aliyun-open-api-cdn)[ Docs](https://github.com/lokielse/aliyun-open-api-cdn)[ RSS](/packages/lokielse-aliyun-open-api-cdn/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (2)Used By (0)

The CDN SDK for Aliyun OpenAPI
==============================

[](#the-cdn-sdk-for-aliyun-openapi)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a04a3865a15a4fe06c8bab7f38c85d48fa6ffe8b98aeb293151c53cc7b5d347f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f6b69656c73652f616c6979756e2d6f70656e2d6170692d63646e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lokielse/aliyun-open-api-cdn)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/f51777e7fa38c805a876b4fbb15a766a70cdad6cc3d11c9d0fbe26e7ad38d026/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f6b69656c73652f616c6979756e2d6f70656e2d6170692d63646e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lokielse/aliyun-open-api-cdn)

The CDN SDK for Aliyun OpenAPI

Install
-------

[](#install)

Via Composer

```
$ composer require lokielse/aliyun-open-api-cdn
```

Usage
-----

[](#usage)

```
/**
 * 访问信息
 */
$config = [
	'AccessKeyId'=>'',
	'AccessKeySecret'=>'',
];

/**
 * 配置网关
 */
$endpoint = new Endpoint('cn-hangzhou', EndpointConfig::getRegionIds(), EndpointConfig::getProductDomains());
EndpointProvider::setEndpoints([ $endpoint ]);

/**
 * 授权资料
 */
$profile = DefaultProfile::getProfile('cn-hangzhou', $config['AccessKeyId'], $config['AccessKeySecret']);

/**
 * 请求对象
 */
$request = new XXXRequest();
$request->setAAA();
$request->setBBB();

$client  = new DefaultAcsClient($profile);
$response = $client->getAcsResponse($request);

var_dump($response);
```

[官方文档](https://help.aliyun.com/document_detail/27155.html)

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Lokielse](https://github.com/lokielse)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3634d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lokielse-aliyun-open-api-cdn/health.svg)

```
[![Health](https://phpackages.com/badges/lokielse-aliyun-open-api-cdn/health.svg)](https://phpackages.com/packages/lokielse-aliyun-open-api-cdn)
```

###  Alternatives

[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)[lokielse/aliyun-open-api-sls

The SLS SDK for Aliyun OpenAPI

1061.1k15](/packages/lokielse-aliyun-open-api-sls)

PHPackages © 2026

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