PHPackages                             lokielse/aliyun-open-api-ecs - 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-ecs

ActiveLibrary[API Development](/categories/api)

lokielse/aliyun-open-api-ecs
============================

The ECS SDK for Aliyun OpenAPI

v1.0.3(9y ago)1601MITPHPPHP &gt;=5.3.0

Since Dec 20Pushed 7y ago1 watchersCompare

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

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

The ECS SDK for Aliyun OpenAPI
==============================

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/6ad7ad149911b84e1ec0dd917f5b301aa697a73b5cb789f9b37fe6f548bd8e79/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f6b69656c73652f616c6979756e2d6f70656e2d6170692d6563732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lokielse/aliyun-open-api-ecs)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/741998db3d012628173761b408c4dc99e0569bf6e136b79fcf818462819c2726/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f6b69656c73652f616c6979756e2d6f70656e2d6170692d6563732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lokielse/aliyun-open-api-ecs)

The ECS SDK for Aliyun OpenAPI

Install
-------

[](#install)

Via Composer

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

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/ecs/open-api/apisummary.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

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

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 ~81 days

Total

4

Last Release

3601d 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 (12 commits)")

---

Tags

phpsdkaliyunECS

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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