PHPackages                             yoozoo/etcdphp - 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. yoozoo/etcdphp

ArchivedLibrary

yoozoo/etcdphp
==============

PHP client for Etcd

v1.3.7(7y ago)14521MITPHP

Since Jul 13Pushed 7y ago2 watchersCompare

[ Source](https://github.com/yoozoo/etcdphp)[ Packagist](https://packagist.org/packages/yoozoo/etcdphp)[ Docs](https://github.com/yoozoo/etcdphp)[ RSS](/packages/yoozoo-etcdphp/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (10)Dependencies (2)Versions (17)Used By (0)

etcdphp
=======

[](#etcdphp)

Combine Etcd-client and temp file to build a kv store. Inpired by [etcd-php](https://github.com/ouqiang/etcd-php).

Config
======

[](#config)

This package read config from constructor param or env.

Priority : set function &gt; env &gt; protoagent &gt; default value.

namefunctionparam nameenv nameproto agentdefault valuedecriptioncache pathsetCachePathcache\_path--/tmp/confcachePath of generated php tmp fileetcd endpointssetEtcdConfigetcd\_endpointsetcd\_endpointsendpoints127.0.0.1:2379end points of etcd serveretcd usersetEtcdConfigetcd\_useretcd\_useruser, passwordroot:rootusername:passwordetcd envkey-etcd\_envKey-defaultindicate current env (for furture use)disable cache flag-etcd\_disable\_cache-falsedisable cache if set valueread from local flagsetReadFromLocalFlag---falseread value from local json file if set valuelocal file pathsetLocalFilePath----filepath of local json filePlease use `setEtcdConfig` and `setCachePath` function instead of pass params. Will not support params in furture version.

local Json File
===============

[](#local-json-file)

> ## Example
>
> [](#example)
>
> proto file
>
> ```
> syntax = "proto3";
>
> import "protoconf_common.proto";
>
> package com.yoozoo.protoconf;
>
> option (app_name)="红岸-test";
>
> message Configuration1 {
>    int32 id =2 [(watch) = true, (default)="23"];
>    float abc=3;
>    bool def=4;
> }
>
> message Configuration {
>    string name =1 [ (watch) = true, (default)="123"];
>    Configuration1 msg=2;
> }
>
> ```
>
>
>
> json file
>
> ```
> {
>    "name":"test",
>    "msg":{
>        "id":2,
>        "abc":"abc",
>        "def":true
>    }
> }
> ```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 95.2% 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 ~9 days

Recently: every ~19 days

Total

16

Last Release

2724d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/71570c00814bf054a14142a05b15fdf8bfdb4c18115cecd4c2d7a60bf67e00a7?d=identicon)[CBike1103](/maintainers/CBike1103)

---

Top Contributors

[![CBike1103](https://avatars.githubusercontent.com/u/9313884?v=4)](https://github.com/CBike1103 "CBike1103 (20 commits)")[![aaabbbccc-123](https://avatars.githubusercontent.com/u/25824099?v=4)](https://github.com/aaabbbccc-123 "aaabbbccc-123 (1 commits)")

---

Tags

etcdv3youzuyoozoo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yoozoo-etcdphp/health.svg)

```
[![Health](https://phpackages.com/badges/yoozoo-etcdphp/health.svg)](https://phpackages.com/packages/yoozoo-etcdphp)
```

###  Alternatives

[start-point/etcd-php

PHP client for Etcd v3

72161.8k4](/packages/start-point-etcd-php)

PHPackages © 2026

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