Download the PHP package crayoon/hyperf-grpc without Composer
On this page you can find all versions of the php package crayoon/hyperf-grpc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package hyperf-grpc
crayoon/hyperf-grpc
Hyperf Grpc 服务插件,协助完成grpc服务注册、服务链路追踪、服务健康、服务反射等
使用教程 https://learnku.com/articles/75681 如果有帮助到您的话,还请给个星哦
请先阅读hyperf文档grpc服务一节 https://hyperf.wiki/3.0/#/zh-cn/grpc
Update
[2.x]
- 服务处理重写,支持GRPC全模式(一元模式、客户端流模式、服务端流模式、双向流模式)
[1.x]
- 重构服务反射,提升速度
- TracerDriver 默认配置调整为Noop类型
- 服务注册优化异常时跳过
- 增加支持 Grpc Streaming
- 增积支持 GrpcHealth Watch Streaming模式
快速开始
引入
生成配置文件
配置
修改 config/autoload/annotations.php
修改 config/autoload/server.php
流模式使用
All versions of hyperf-grpc with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
hyperf/di Version 3.0.*
hyperf/grpc-server Version ^3.0
hyperf/http-server Version ^3.0
hyperf/service-governance Version ^3.0
hyperf/service-governance-consul Version ^3.0
hyperf/service-governance-nacos Version ^3.0
hyperf/tracer Version ^3.0
hyperf/utils Version ^3.0
jonahgeorge/jaeger-client-php Version ^1.4
hyperf/di Version 3.0.*
hyperf/grpc-server Version ^3.0
hyperf/http-server Version ^3.0
hyperf/service-governance Version ^3.0
hyperf/service-governance-consul Version ^3.0
hyperf/service-governance-nacos Version ^3.0
hyperf/tracer Version ^3.0
hyperf/utils Version ^3.0
jonahgeorge/jaeger-client-php Version ^1.4
The package crayoon/hyperf-grpc contains the following files
Loading the files please wait ....