Download the PHP package yoozoo/etcdphp without Composer
On this page you can find all versions of the php package yoozoo/etcdphp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yoozoo/etcdphp
More information about yoozoo/etcdphp
Files in yoozoo/etcdphp
Download yoozoo/etcdphp
More information about yoozoo/etcdphp
Files in yoozoo/etcdphp
Vendor yoozoo
Package etcdphp
Short Description PHP client for Etcd
License MIT
Homepage https://github.com/yoozoo/etcdphp
Package etcdphp
Short Description PHP client for Etcd
License MIT
Homepage https://github.com/yoozoo/etcdphp
Please rate this library. Is it a good library?
Informations about the package etcdphp
etcdphp
Combine Etcd-client and temp file to build a kv store. Inpired by etcd-php.
Config
This package read config from constructor param or env.
Priority : set function > env > protoagent > default value.
name | function | param name | env name | proto agent | default value | decription |
---|---|---|---|---|---|---|
cache path | setCachePath | cache_path | - | - | /tmp/confcache | Path of generated php tmp file |
etcd endpoints | setEtcdConfig | etcd_endpoints | etcd_endpoints | endpoints | 127.0.0.1:2379 | end points of etcd server |
etcd user | setEtcdConfig | etcd_user | etcd_user | user, password | root:root | username:password |
etcd envkey | - | etcd_envKey | - | default | indicate current env (for furture use) | |
disable cache flag | - | etcd_disable_cache | - | false | disable cache if set value | |
read from local flag | setReadFromLocalFlag | - | - | - | false | read value from local json file if set value |
local file path | setLocalFilePath | - | - | - | - | filepath of local json file |
Please use setEtcdConfig
and setCachePath
function instead of pass params. Will not support params in furture version.
local Json File
Example
proto file
json file
All versions of etcdphp with dependencies
PHP Build Version
Package Version
Requires
yoozoo/protoapi Version
~0.0.3
The package yoozoo/etcdphp contains the following files
Loading the files please wait ....