ouqiang / etcd-php Goto Github PK
View Code? Open in Web Editor NEWPHP client for Etcd v3
License: MIT License
PHP client for Etcd v3
License: MIT License
Etcd client is pinned to Guzzle 6.x. There is the 7.0 and 7.1 already released.
There should be an upgrade.
I think that, as a general guideline, and for consistency/transparency, the client should aim to provide the same functionality as etcdctl
.
Here the list of methods that are not currently implemented.
I think 30s is too long for a server.
Maybe we can add a param into constructer?
希望支持下监听事件
我看到认证支持用户名和密码认证,请问是否支持证书认证
The library functions, like get
, has the information, that they return array
or an Exception
. Exceptions are not returned but thrown.
It would be nice if the PhpDoc says
@throws \GuzzleHttp\Exception\BadResponseException
Error: Undefined index: value in Client.php on line 770
$etcd->put('key', ''); $etcd->setPretty(true); $etcd->get('key')
hi @ouqiang if you feel comfortable please add your client to the https://github.com/coreos/etcd/blob/master/Documentation/integrations.md via PR. We currently have no v3 clients listed for PHP.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.