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(2mo ago)4815.3k↓46.7%16[1 issues](https://github.com/openswoole/grpc/issues)1Apache-2.0PHPPHP &gt;=8.3CI passing

Since Mar 17Pushed 2mo ago1 watchersCompare

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

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

56

—

FairBetter than 98% of packages

Maintenance84

Actively maintained with recent releases

Popularity40

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity68

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

79d 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

[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)[nette/bootstrap

🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.

68535.8M592](/packages/nette-bootstrap)

PHPackages © 2026

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