PHPackages                             verystar/nacos-php-sdk - 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/nacos-php-sdk

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

verystar/nacos-php-sdk
======================

The alibaba nacos SDK for php

v1.0.1(4y ago)0558—0%MITPHPPHP &gt;=5.6

Since Apr 21Pushed 4y ago4 watchersCompare

[ Source](https://github.com/verystar/nacos-php-sdk)[ Packagist](https://packagist.org/packages/verystar/nacos-php-sdk)[ RSS](/packages/verystar-nacos-php-sdk/feed)WikiDiscussions master Synced 1mo ago

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

Nacos SDK for PHP
=================

[](#nacos-sdk-for-php)

[![Total Downloads](https://camo.githubusercontent.com/be090cff2a0ec008a8fe23698f1cee7e8621087da1dba674acb866f22cabc244/68747470733a2f2f706f7365722e707567782e6f72672f76657279737461722f6e61636f732d7068702d73646b2f642f746f74616c2e737667)](https://packagist.org/packages/verystar/nacos-php-sdk)[![Latest Stable Version](https://camo.githubusercontent.com/5da4b0ec3c2891b73e28c081bb1fffcf206e44eae89014b104655cb9004c035c/68747470733a2f2f706f7365722e707567782e6f72672f76657279737461722f6e61636f732d7068702d73646b2f762f737461626c652e737667)](https://packagist.org/packages/verystar/nacos-php-sdk)

Aliyun Nacos SDK for PHP

Install
-------

[](#install)

```
composer require verystar/nacos-php-sdk

```

Or add a dependency to the composer.json

```
"require": {
    "verystar/nacos-php-sdk": "1.0.*"
}

```

Run

```
composer update

```

Usage
-----

[](#usage)

```
use Very\Nacos\Client;

$client = new Client([
    "username"=>"***********",
    "password"=>"***********",
    "server_addr"=>"https://test.nacos.com",
    "namespace"=>"***********",
]);

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

//save config if config file not exists
$client->saveConfig("test","DEFAULT_GROUP","./config/db.php");
```

Exception
---------

[](#exception)

if throw NacosException,the fetch configuration failed

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

Total

2

Last Release

1797d 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 (3 commits)")

---

Tags

nacosverystar

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/verystar-nacos-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/verystar-nacos-php-sdk/health.svg)](https://phpackages.com/packages/verystar-nacos-php-sdk)
```

###  Alternatives

[hyperf/nacos

Nacos SDK

22487.9k10](/packages/hyperf-nacos)

PHPackages © 2026

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