binwiederhier/etcd-php — explained in plain English
Analysis updated 2026-07-27 · repo last pushed 2017-03-30
Centralize configuration across multiple PHP servers so updating a setting in one place propagates everywhere.
Store temporary feature flags or locks that automatically expire after a set number of seconds.
Watch for configuration changes and have your PHP app react automatically without polling or restarting.
Manage etcd keys from the terminal using the bundled command-line tool for quick checks and scripting.
| binwiederhier/etcd-php | anikchand461/anyonehere | argosback/aura.sqlquery | |
|---|---|---|---|
| Stars | — | 0 | — |
| Language | PHP | PHP | PHP |
| Last pushed | 2017-03-30 | — | 2023-05-28 |
| Maintenance | Dormant | — | Dormant |
| Setup difficulty | moderate | easy | easy |
| Complexity | 2/5 | 2/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a running etcd server instance that the PHP library can connect to.
etcd-php lets PHP applications talk to etcd, a distributed configuration system that stores settings and shares them across multiple servers. Think of etcd as a shared, centrally-managed notebook where all the servers in a project can look up configuration values, and this library is the PHP client that reads from and writes to that notebook. You use it to store key-value pairs, like putting the string "fooValue" at the key "/foo", and later retrieve that value by asking for "/foo." You can set values with an optional expiration timer, update existing keys, delete keys, and organize keys into directories. It also supports a "watch" feature that lets your application listen for changes on a key, so when someone updates a setting, your app reacts automatically without needing to poll or restart. A team running a PHP application across several servers would use this to centralize configuration. For example, if you have five web servers that all need to know the current database connection string, you store it once in etcd and each server reads it through this library. When the database moves, you update the single value in etcd, and every server picks up the new setting. You can also set temporary values that disappear after a set number of seconds, which is useful for locking or short-lived feature flags. The project also ships with a command-line tool, so you can manage keys from a terminal without writing PHP. The same operations, setting, getting, deleting, listing directories, and watching for changes, are available as shell commands, making it practical for scripting and quick checks. The README doesn't go into detail about error handling, security, or connection management. The code examples cover the core CRUD operations clearly, but anyone integrating this would likely need to look at the source for specifics on timeouts and failure behavior.
A PHP client library that lets PHP apps read and write configuration values stored in etcd, a shared settings system used across multiple servers.
Mainly PHP. The stack also includes PHP, etcd.
Dormant — no commits in 2+ years (last push 2017-03-30).
No license information was provided in the README, so usage rights are unclear.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.