PHPackages                             openswoole/grpc - 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. [Framework](/categories/framework)
4. /
5. openswoole/grpc

ActiveLibrary[Framework](/categories/framework)

openswoole/grpc
===============

OpenSwoole GRPC framework for building high performance services

26.2.0(4mo ago)4918.0k↓52.5%17[1 issues](https://github.com/openswoole/grpc/issues)1Apache-2.0PHPPHP &gt;=8.3CI passing

Since Mar 17Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/openswoole/grpc)[ Packagist](https://packagist.org/packages/openswoole/grpc)[ RSS](/packages/openswoole-grpc/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (10)Versions (8)Used By (1)

OpenSwoole GRPC for PHP
=======================

[](#openswoole-grpc-for-php)

OpenSwoole GRPC is an open-source high-performance GRPC solution for PHP including server side and client side implementation.

[GRPC](https://grpc.io/) is a high performance, open source universal RPC framework. OpenSwoole GRPC is a high performance integration solution for building cloud-native multiple language microservices architecture.

Install
-------

[](#install)

You can add this package to your project using [Composer](https://getcomposer.org):

```
composer require openswoole/grpc
```

Features
--------

[](#features)

- Native GRPC implementation compliant
- PHP/PHP-FPM GRPC client compliant
- [OpenSwoole GRPC Compiler](https://github.com/openswoole/protoc-gen-openswoole-grpc) provided
- GRPC unary mode support
- GRPC server side stream mode
- GRPC server side interceptors
- GRPC client side connection pooling and multiplexing

Example
-------

[](#example)

You can find example helloworld project at [/example](https://github.com/openswoole/grpc/tree/main/example).

Next steps:
-----------

[](#next-steps)

1. Create `.proto` for your service
2. Generate PHP stub codes with Open Swoole GRPC Compiler
3. Implement your own service
4. Integrate with GRPC service with GRPC client

Documentation
-------------

[](#documentation)

Documentation for Open Swoole can be found on the [Open Swoole website](https://openswoole.com/docs).

###  Health Score

54

—

FairBetter than 96% of packages

Maintenance76

Regular maintenance activity

Popularity41

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity69

Established project with proven stability

 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 ~288 days

Total

6

Last Release

125d ago

Major Versions

0.0.1 → 22.0.02022-12-13

22.1.6 → 26.2.02026-02-28

PHP version history (2 changes)0.0.1PHP &gt;=7.4

26.2.0PHP &gt;=8.3

### Community

Maintainers

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

---

Top Contributors

[![doubaokun](https://avatars.githubusercontent.com/u/313478?v=4)](https://github.com/doubaokun "doubaokun (65 commits)")

---

Tags

grpcgrpc-clientgrpc-phpgrpc-serveropenswoole

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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