PHPackages                             tutu-ru/lib-etcd-config - 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. tutu-ru/lib-etcd-config

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

tutu-ru/lib-etcd-config
=======================

etcd implementation for lib-config

1.0.0(7y ago)036.0k↓50%1proprietaryPHPPHP ^7.1

Since Jan 13Pushed 7y ago11 watchersCompare

[ Source](https://github.com/tutu-ru/php-etcd-config)[ Packagist](https://packagist.org/packages/tutu-ru/lib-etcd-config)[ RSS](/packages/tutu-ru-lib-etcd-config/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (2)Used By (1)

Библиотека EtcdConfig
=====================

[](#библиотека-etcdconfig)

Реализация конфига хранящегося в etcd. Возможно использовать отдельно или с библиотекой [tutu-ru/php-config](https://github.com/tutu-ru/php-config) через интерфейс `TutuRu\Config\ConfigInterface`.

Инициализация и использование
-----------------------------

[](#инициализация-и-использование)

Конфиг загружается сразу при создании объекта.

Создание конфига:

```
use TutuRu\EtcdConfig\EtcdConfig;

$config = new EtcdConfig('/config/root/node');
$config->getValue('some.node');
```

Создание конфига с кэшированием данных на 60 секунд:

```
use TutuRu\EtcdConfig\EtcdConfig;
use Cache\Adapter\Apcu\ApcuCachePool;
use Cache\Bridge\SimpleCache\SimpleCacheBridge;

$cache = new SimpleCacheBridge(new ApcuCachePool());
$config = new EtcdConfig('/config/root/node', $cache, 60);
$config->getValue('some.node');
```

Создание конфига с возможностью изменения в рантайме:

```
use TutuRu\EtcdConfig\MutableEtcdConfig;

$config = new MutableEtcdConfig('/config/root/node');
$config->setValue('some.node', 'new value');
```

Миграции
--------

[](#миграции)

```
use TutuRu\EtcdConfig\EtcdConfigMutator;

$configMutator = new EtcdConfigMutator('/config/root/node');

$configMutator->init();
$configMutator->setValue('some/node', $value);
```

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity55

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

Unknown

Total

1

Last Release

2672d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/17d3dce327e3ab4dba17696efdcfb225a250b2126e54eb2f5086d338db72cd8a?d=identicon)[todoshcenko](/maintainers/todoshcenko)

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

![](https://www.gravatar.com/avatar/a754a3e15bc08f072b98c18fa4ccbee774e47a44fecc5cb487fe2b95b2c4d969?d=identicon)[tutu-ru](/maintainers/tutu-ru)

---

Top Contributors

[![tutu-robot](https://avatars.githubusercontent.com/u/22958338?v=4)](https://github.com/tutu-robot "tutu-robot (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/tutu-ru-lib-etcd-config/health.svg)

```
[![Health](https://phpackages.com/badges/tutu-ru-lib-etcd-config/health.svg)](https://phpackages.com/packages/tutu-ru-lib-etcd-config)
```

###  Alternatives

[mobiledetect/mobiledetectlib

Mobile\_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.

10.7k159.4M429](/packages/mobiledetect-mobiledetectlib)[illuminate/contracts

The Illuminate Contracts package.

704122.9M10.0k](/packages/illuminate-contracts)[phiki/phiki

Syntax highlighting using TextMate grammars in PHP.

3573.0M23](/packages/phiki-phiki)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[flow-php/etl

PHP ETL - Extract Transform Load - Abstraction

374468.4k50](/packages/flow-php-etl)[gehrisandro/tailwind-merge-php

TailwindMerge for PHP merges multiple Tailwind CSS classes by automatically resolving conflicts between them

1391.5M9](/packages/gehrisandro-tailwind-merge-php)

PHPackages © 2026

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