PHPackages                             yun-hai/grpc-tool - 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. yun-hai/grpc-tool

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

yun-hai/grpc-tool
=================

grpc 工具包。

07PHP

Since Mar 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/BusinessL/grpc-tool)[ Packagist](https://packagist.org/packages/yun-hai/grpc-tool)[ RSS](/packages/yun-hai-grpc-tool/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

grpc-tool
=========

[](#grpc-tool)

介绍

该composer包，封装grpc传输方式，提供更简单的调用方法。

安装

```
composer require yun-hai/grpc-tool dev-master

```

使用

> 单向流

```
$service = new Service($hostnames, $namespacePrefix);

$result = $service->unaryCall($serviceName, $actionName, $request);

```

> 双向流

```
$service = new Service($hostnames, $namespacePrefix);

$result = $grpc->bidirectionalGrpc($serviceName, $actionName, $request);

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/58ed09f2b23796ecae77b064e81d0f171cc09e66254471aba7532076a97030da?d=identicon)[BusinessL](/maintainers/BusinessL)

---

Top Contributors

[![study825](https://avatars.githubusercontent.com/u/25599512?v=4)](https://github.com/study825 "study825 (2 commits)")

### Embed Badge

![Health badge](/badges/yun-hai-grpc-tool/health.svg)

```
[![Health](https://phpackages.com/badges/yun-hai-grpc-tool/health.svg)](https://phpackages.com/packages/yun-hai-grpc-tool)
```

###  Alternatives

[overtrue/laravel-qcloud-federation-token

QCloud COS FederationToken generator for Laravel.

179.5k](/packages/overtrue-laravel-qcloud-federation-token)

PHPackages © 2026

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