PHPackages                             chiefgroup/laravel-acm-client - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. chiefgroup/laravel-acm-client

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

chiefgroup/laravel-acm-client
=============================

laravel aliyun acm client

1.1.1(5y ago)11.8kMITPHP

Since Apr 10Pushed 5y agoCompare

[ Source](https://github.com/chiefgroup/laravel-acm-client)[ Packagist](https://packagist.org/packages/chiefgroup/laravel-acm-client)[ Docs](https://github.com/chiefgroup/laravel-acm-client)[ RSS](/packages/chiefgroup-laravel-acm-client/feed)WikiDiscussions master Synced 3d ago

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

Laravel 阿里云ACM配置中心客户端
=====================

[](#laravel-阿里云acm配置中心客户端)

该客户端实现从ACM拉取配置，存放一个配置文件acm.json到根目录。并在启动时更新配置

安装
--

[](#安装)

```
 composer require chiefgroup/laravel-acm-client

```

该包已实现自动注册service provider，你也可以手动注册，编辑`config/app.php`

```
'providers' => [
    // ...
    Donjan\AcmClient\Providers\AcmServiceProvider::class,
];

```

### Lumen

[](#lumen)

修改`bootstrap/app.php`

```
$app->register(Donjan\AcmClient\Providers\AcmServiceProvider::class);

```

到  添加配置，JSON格式,这个例子修改了app.name和mysql的数据库名

```
{
    "app.name":"new name",
    "database.connections.mysql.database":"new-database"
}

```

.env文件添加环境变量

```
//命名空间ID
ALIYUN_ACM_NAMESPACE=ef3948fa-d0d5-4119-bc75-33a5b76126fe
//Data ID
ALIYUN_ACM_DATA_ID=laravel
//GROUP
ALIYUN_ACM_GROUP=LARAVEL
//访问的ak与sk
ALIYUN_ACM_AK=******
ALIYUN_ACM_SK=******

```

发布配置
----

[](#发布配置)

```
php artisan vendor:publish --provider="Donjan\AcmClient\Providers\AcmServiceProvider"

```

使用
--

[](#使用)

如果之前执行过`php artisan config:cache`,需要`php artisan config:clear`后重新执行`php artisan config:cache`

手动执行命令`php artisan acm:get-config`拉取配置。

如果你启用了任务调度，修改`App\Console\Kernel`,添加一个任务

```
if (config('acm.enable')) {
    $schedule->command('acm:get-config')->everyMinute();
}

```

或者通过crontab

`* * * * * www php /projectpath/artisan acm:get-config`

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community6

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

Every ~140 days

Total

3

Last Release

1947d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7af3a44e3773e767ff23860900a7c9d5ebbb110aa19307d6ba370af5f6147aa3?d=identicon)[Observer](/maintainers/Observer)

---

Top Contributors

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

---

Tags

laravelacm clientaliyun acm

### Embed Badge

![Health badge](/badges/chiefgroup-laravel-acm-client/health.svg)

```
[![Health](https://phpackages.com/badges/chiefgroup-laravel-acm-client/health.svg)](https://phpackages.com/packages/chiefgroup-laravel-acm-client)
```

###  Alternatives

[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[sunchayn/nimbus

A Laravel package providing an in-browser API client with automatic schema generation, live validation, and built-in authentication with a touch of Laravel-tailored magic for effortless API testing.

29428.0k](/packages/sunchayn-nimbus)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[georgeboot/laravel-echo-api-gateway

Use Laravel Echo with API Gateway Websockets

10435.5k](/packages/georgeboot-laravel-echo-api-gateway)[cybercog/youtrack-rest-php

YouTrack REST API PHP Client.

37149.2k3](/packages/cybercog-youtrack-rest-php)[dreamfactory/df-core

DreamFactory(tm) Core Components

1651.7k20](/packages/dreamfactory-df-core)

PHPackages © 2026

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