PHPackages                             verystar/aliyun-acm - 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. verystar/aliyun-acm

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

verystar/aliyun-acm
===================

The aliyun ACM SDK for php

v1.0.3(7y ago)11.8k1MITPHPPHP &gt;=5.6

Since Jul 4Pushed 7y ago2 watchersCompare

[ Source](https://github.com/fifsky/aliyun-acm)[ Packagist](https://packagist.org/packages/verystar/aliyun-acm)[ RSS](/packages/verystar-aliyun-acm/feed)WikiDiscussions master Synced 2w ago

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

Aliyun-ACM SDK for PHP
======================

[](#aliyun-acm-sdk-for-php)

[![Build Status](https://camo.githubusercontent.com/487e918284a17013e9443ab23350c08676509e6eeb4dca16d013633a58931823/68747470733a2f2f6170692e7472617669732d63692e6f72672f666966736b792f616c6979756e2d61636d2e737667)](https://travis-ci.org/fifsky/aliyun-acm)[![Total Downloads](https://camo.githubusercontent.com/7b7a76ae45764c2d0371be147f865f151e5e64ca540b3d4ca319843a3aa4f248/68747470733a2f2f706f7365722e707567782e6f72672f666966736b792f616c6979756e2d61636d2f642f746f74616c2e737667)](https://packagist.org/packages/fifsky/aliyun-acm)[![Latest Stable Version](https://camo.githubusercontent.com/4b34566600cb7bccc3708e4ea1075601429d8bdf87ce9e3f168ff81da0b68e0c/68747470733a2f2f706f7365722e707567782e6f72672f666966736b792f616c6979756e2d61636d2f762f737461626c652e737667)](https://packagist.org/packages/fifsky/aliyun-acm)

Aliyun ACM SDK for PHP, Multi-ip polling and local file cache is supported

Install
-------

[](#install)

```
composer require fifsky/aliyun-acm

```

Or add a dependency to the composer.json

```
"require": {
    "fifsky/aliyun-acm": "1.0.*"
}

```

Run

```
composer update

```

Usage
-----

[](#usage)

```
use Aliyun\ACM\Client;

$client = new Client([
    "accessKey"=>"***********",
    "secretKey"=>"***********",
    "endPoint"=>"acm.aliyun.com",
    "nameSpace"=>"***********",
    "timeOut"=>30, //long pull timeout default 30s
]);

//get config
$ret = $client->getConfig("test","DEFAULT_GROUP");
print_r($ret);

//subscribe
$ret = $client->subscribe("test","DEFAULT_GROUP");
print_r($ret);

//pulish
$ret = $client->publish("test","DEFAULT_GROUP","config content");
print_r($ret);

//remove config
$ret = $client->delete("test","DEFAULT_GROUP");
print_r($ret);

//get all config by tenant
$ret = $client->getAllConfigs(1,1);
print_r($ret);
```

Exception
---------

[](#exception)

If the API request fails, an throw exception is RequestException

```
use Aliyun\ACM\RequestException;

try{
    $ret = $client->getConfig("test","DEFAULT_GROUP");
    print_r($ret);
}catch (RequestException $e){
    print_r($e);
}
```

License
-------

[](#license)

The SDK is open-sourced software licensed under the MIT license.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 89.5% 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 ~42 days

Total

4

Last Release

2793d ago

### Community

Maintainers

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

---

Top Contributors

[![fifsky](https://avatars.githubusercontent.com/u/280967?v=4)](https://github.com/fifsky "fifsky (17 commits)")[![nilsir](https://avatars.githubusercontent.com/u/15967737?v=4)](https://github.com/nilsir "nilsir (2 commits)")

---

Tags

acmaliyunphpaliyunacmverystar

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/verystar-aliyun-acm/health.svg)

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

###  Alternatives

[alibabacloud/sdk

Alibaba Cloud SDK for PHP - Easier to Use Alibaba Cloud in your PHP project

5292.1M46](/packages/alibabacloud-sdk)[mrgoon/aliyun-sms

阿里云短信服务php调用代码

8294.0k1](/packages/mrgoon-aliyun-sms)[aliyuncs/aliyun-oss-php-sdk-laravel

A simple Laravel 5 and lumen service provider for including the Oss PHP SDK for PHP.

7535.4k2](/packages/aliyuncs-aliyun-oss-php-sdk-laravel)[saviorlv/yii2-dysms

Aliyun SMS SDK for Yii2

1316.8k1](/packages/saviorlv-yii2-dysms)

PHPackages © 2026

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