PHPackages                             texnicii/etcd - 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. texnicii/etcd

ActiveLibrary

texnicii/etcd
=============

PHP gRPC client for etcd v3 (forked from aternos/etcd)

v1.5.2(1y ago)0756—0%MITPHPPHP &gt;=7.1

Since Jan 29Pushed 1y agoCompare

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

READMEChangelog (2)Dependencies (3)Versions (5)Used By (0)

PHP gRPC client for etcd v3
===========================

[](#php-grpc-client-for-etcd-v3)

Full and/or simplified client for [etcd](https://github.com/etcd-io/etcd) v3 using [gRPC](https://github.com/grpc/grpc/).

### About

[](#about)

This library includes the generated gRPC classes from the `.proto` files in the etcd repository in the [grpc](grpc) folder. You can use the (more complicated) gRPC classes or the simpler [`Client`](src/Client.php)class for basic functionality. There are currently only a few basic functions implemented in the Client class, so feel free to add more functions when you implement them with the gRPC classes and create a pull request.

### Installation

[](#installation)

The gRPC PHP extension has to be installed to use this library. See [this](https://github.com/grpc/grpc/tree/master/src/php) for a full explanation.

```
sudo apt install php php-dev php-pear
sudo pecl install grpc
```

And add `extension=grpc.so` to the `php.ini` file.

The `protobuf` extension is not necessary, because it's a dependency of this library, which you can install using

```
composer require aternos/etcd
```

### Usage

[](#usage)

#### Client class

[](#client-class)

```
