PHPackages                             ltd-beget/php-grpc-client-generator - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ltd-beget/php-grpc-client-generator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ltd-beget/php-grpc-client-generator
===================================

Generate grpc client classes after protoc-gen-php

v0.4(8y ago)49.3k↓54%1MITPHPPHP &gt;=5.4.0

Since Mar 2Pushed 8y ago23 watchersCompare

[ Source](https://github.com/LTD-Beget/php-grpc-client-generator)[ Packagist](https://packagist.org/packages/ltd-beget/php-grpc-client-generator)[ RSS](/packages/ltd-beget-php-grpc-client-generator/feed)WikiDiscussions master Synced yesterday

READMEChangelog (7)Dependencies (2)Versions (14)Used By (0)

Php GRPC client generator
=========================

[](#php-grpc-client-generator)

This util generate wrappers for client classes generated by `protoc-gen-php`.

Proto file example
------------------

[](#proto-file-example)

```
syntax = "proto3";

package beget.hello;

service Greeter {
  rpc SayHello (HelloRequest) returns (HelloReply) {}
}

message HelloRequest {
  string name = 1;
}

message HelloReply {
  string message = 1;
}

```

Usage
-----

[](#usage)

```
protoc-gen-php -Dmultifile -i ../protos/ -o . ../protos/hello.proto

```

```
ini_set('xdebug.max_nesting_level', 3000);

use LTDBeget\util\PhpGrpcClientGenerator\PhpGenerator;

(new PhpGenerator())
    ->setInputPath(__DIR__ . '/proto')
    ->setOutputPath(__DIR__)
    ->run();

```

```
require __DIR__ . '/vendor/autoload.php';

$client = new \beget\hello\GreeterClientSimple(
    new \beget\hello\GreeterClient(
        'localhost:50051',
        [
            'credentials' => Grpc\ChannelCredentials::createInsecure(),
        ]
    )
);

$request = new \beget\hello\HelloRequest();
$request->setName(time());

$reply = $client->SayHello($request);

echo $reply->getMessage(), PHP_EOL;

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

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

Every ~81 days

Recently: every ~101 days

Total

7

Last Release

2922d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1562113?v=4)[Kolesnikov Vladislav](/maintainers/vladqa)[@vladqa](https://github.com/vladqa)

![](https://avatars.githubusercontent.com/u/332706?v=4)[Sergey Goppikov](/maintainers/Grey2k)[@Grey2k](https://github.com/Grey2k)

---

Top Contributors

[![vladqa](https://avatars.githubusercontent.com/u/1562113?v=4)](https://github.com/vladqa "vladqa (6 commits)")

---

Tags

internal-libgRPCproto

### Embed Badge

![Health badge](/badges/ltd-beget-php-grpc-client-generator/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[deptrac/deptrac

Deptrac is a static code analysis tool that helps to enforce rules for dependencies between software layers.

3.0k8.8M118](/packages/deptrac-deptrac)[roave/backward-compatibility-check

Tool to compare two revisions of a public API to check for BC breaks

6003.7M96](/packages/roave-backward-compatibility-check)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4814.0M25](/packages/coenjacobs-mozart)[v.chetkov/php-clean-architecture

PHP Clean Architecture

14661.1k](/packages/vchetkov-php-clean-architecture)

PHPackages © 2026

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