SkillAgentSearch skills...

Grpc

OpenSwoole GRPC for PHP [READ ONLY]

Install / Use

/learn @openswoole/Grpc
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

OpenSwoole GRPC for PHP

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

GRPC 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

You can add this package to your project using Composer:

composer require openswoole/grpc

Features

  • Native GRPC implementation compliant
  • PHP/PHP-FPM GRPC client compliant
  • OpenSwoole GRPC Compiler provided
  • GRPC unary mode support
  • GRPC server side stream mode
  • GRPC server side interceptors
  • GRPC client side connection pooling and multiplexing

Example

You can find example helloworld project at /example.

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 for Open Swoole can be found on the Open Swoole website.

Related Skills

View on GitHub
GitHub Stars48
CategoryDevelopment
Updated27d ago
Forks16

Languages

PHP

Security Score

95/100

Audited on Mar 7, 2026

No findings