PHPackages                             caibao/grpc\_client - 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. [API Development](/categories/api)
4. /
5. caibao/grpc\_client

ActiveLibrary[API Development](/categories/api)

caibao/grpc\_client
===================

grpc\_client

1.0.0(7y ago)3136MITPHP

Since Jun 25Pushed 4y ago2 watchersCompare

[ Source](https://github.com/lat751608899/grpc_client)[ Packagist](https://packagist.org/packages/caibao/grpc_client)[ RSS](/packages/caibao-grpc-client/feed)WikiDiscussions master Synced 3d ago

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

What is it
----------

[](#what-is-it)

GrpcClient is a php client for grpc server depend on grpc\_php\_plugin. Making it easier for you to use grpc services.

Requirement
-----------

[](#requirement)

1. PHP &gt;= 5.6
2. **[Composer](https://getcomposer.org/)**
3. **[grpc extension](http://pecl.php.net/package/gRPC)**
4. protoc（protobuf compiler）
5. google/protobuf（protobuf runtime library package）
6. grpc\_php\_plugin(PHP Protoc Plugin): Generates PHP gRPC service interface out of Protobuf IDL

Installation
------------

[](#installation)

```
composer require lat/grpcClient
```

### Install protoc

[](#install-protoc)

1. download the protoc binaries from the protocol **[buffers GitHub repository](https://github.com/protocolbuffers/protobuf/releases)**. Then unzip this file and Update the environment variable PATH to include the path to the protoc binary file.
2. compile protoc from source

```
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
$ cd grpc
$ git submodule update --init
$ cd grpc/third_party/protobuf
$ ./autogen.sh && ./configure && make
$ sudo make install
```

### Install PHP Protoc Plugin

[](#install-php-protoc-plugin)

```
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
$ cd grpc
$ git submodule update --init
$ make grpc_php_plugin
```

### Compile proto file

[](#compile-proto-file)

```
# write the path of grpc_php_plugin
$ vim plugin.conf
$ ./create_client.sh
```

### Usage

[](#usage)

```
$clinet = GrpcServer\ClientFactory::createClient('sms.SMS', 'develop');
$clinet->SendVerificationCode();

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 98.5% 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

2881d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cce6b95f9dab5b1655b6a33319ebcda30d2d86b1822fa8902d74dc823bbd806d?d=identicon)[lat751608899](/maintainers/lat751608899)

---

Top Contributors

[![lat751608899](https://avatars.githubusercontent.com/u/19159495?v=4)](https://github.com/lat751608899 "lat751608899 (67 commits)")[![wong-winnie](https://avatars.githubusercontent.com/u/15500759?v=4)](https://github.com/wong-winnie "wong-winnie (1 commits)")

### Embed Badge

![Health badge](/badges/caibao-grpc-client/health.svg)

```
[![Health](https://phpackages.com/badges/caibao-grpc-client/health.svg)](https://phpackages.com/packages/caibao-grpc-client)
```

###  Alternatives

[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)[google/grpc-gcp

gRPC GCP library for channel management

18497.8M3](/packages/google-grpc-gcp)[googleads/google-ads-php

Google Ads API client for PHP

3497.6M9](/packages/googleads-google-ads-php)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[spiral/grpc-client

gRPC client

41140.3k2](/packages/spiral-grpc-client)

PHPackages © 2026

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