定制 mosamirzz/swoole-grpc 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mosamirzz/swoole-grpc

最新稳定版本:0.1

Composer 安装命令:

composer require mosamirzz/swoole-grpc

包简介

Swoole GRPC framework for building high performance services

README 文档

README

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 mosamirzz/swoole-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.

统计信息

  • 总下载量: 1.35k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 15
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2024-12-09