PHPackages                             phlib/config-pool - 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. phlib/config-pool

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

phlib/config-pool
=================

Config pool

1.0.0(1y ago)08LGPL-3.0PHPPHP ^8.1CI passing

Since Nov 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/phlib/config-pool)[ Packagist](https://packagist.org/packages/phlib/config-pool)[ RSS](/packages/phlib-config-pool/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

phlib/config-pool
=================

[](#phlibconfig-pool)

[![Code Checks](https://camo.githubusercontent.com/c718f2c8ba89d7d1e81686bc4e1ce7f2b93c2e4ca04b48ba3605e94eb28ac7ee/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70686c69622f636f6e6669672d706f6f6c2f636f64652d636865636b732e796d6c3f6c6f676f3d676974687562)](https://github.com/phlib/config-pool/actions/workflows/code-checks.yml)[![Codecov](https://camo.githubusercontent.com/f8fcc7fc00dc74035e53f4192690f5afd2630444f3f120536acda45a1ca7e6a3/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f70686c69622f636f6e6669672d706f6f6c2e7376673f6c6f676f3d636f6465636f76)](https://codecov.io/gh/phlib/config-pool)[![Latest Stable Version](https://camo.githubusercontent.com/60fb6d06509d740ffd1fdfc8ab21005edd0f6e50e6f1466721106c182e4035c4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70686c69622f636f6e6669672d706f6f6c2e7376673f6c6f676f3d7061636b6167697374)](https://packagist.org/packages/phlib/config-pool)[![Total Downloads](https://camo.githubusercontent.com/55bc9f0a81052dd59a9c527c4bda8b5776e21c9db83ba901ccf29aa1f4886e2b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70686c69622f636f6e6669672d706f6f6c2e7376673f6c6f676f3d7061636b6167697374)](https://packagist.org/packages/phlib/config-pool)[![Licence](https://camo.githubusercontent.com/77f3afffef3e98626870614cf7eb1f18e1ec54d4772c978595df45b63397a485/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f70686c69622f636f6e6669672d706f6f6c2e737667)](https://camo.githubusercontent.com/77f3afffef3e98626870614cf7eb1f18e1ec54d4772c978595df45b63397a485/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f70686c69622f636f6e6669672d706f6f6c2e737667)

Used for consistent hashing a pool of configs

```
$config = [
    'server1' => ['hostname' => 'localhost', 'port' => 11211],
    'server2' => ['hostname' => 'localhost', 'port' => 11212],
    'server3' => ['hostname' => 'localhost', 'port' => 11213],
];
$pool = new ConfigPool($config);
var_dump($pool->getConfigList('some key', 2));
```

License
-------

[](#license)

This package is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see .

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance40

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

563d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/10c53cdcfb3a6d299820aecb993521cc1a972baa09fd8f31d2468908cded7e1d?d=identicon)[chrisminett](/maintainers/chrisminett)

---

Top Contributors

[![chrisminett](https://avatars.githubusercontent.com/u/1084019?v=4)](https://github.com/chrisminett "chrisminett (19 commits)")

---

Tags

configuration

###  Code Quality

TestsPHPUnit

Code StyleECS

### Embed Badge

![Health badge](/badges/phlib-config-pool/health.svg)

```
[![Health](https://phpackages.com/badges/phlib-config-pool/health.svg)](https://phpackages.com/packages/phlib-config-pool)
```

###  Alternatives

[symfony/options-resolver

Provides an improved replacement for the array\_replace PHP function

3.2k493.9M1.6k](/packages/symfony-options-resolver)[league/config

Define configuration arrays with strict schemas and access values with dot notation

564302.2M24](/packages/league-config)[josegonzalez/dotenv

dotenv file parsing for PHP

2799.8M137](/packages/josegonzalez-dotenv)[dflydev/dot-access-configuration

Given a deep data structure representing a configuration, access configuration by dot notation.

13414.5M4](/packages/dflydev-dot-access-configuration)[symfony/requirements-checker

Check Symfony requirements and give recommendations

2014.7M29](/packages/symfony-requirements-checker)[chillerlan/php-settings-container

A container class for immutable settings objects. Not a DI container.

3427.3M21](/packages/chillerlan-php-settings-container)

PHPackages © 2026

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