spiral / roadrunner-grpc
High-Performance GRPC server for PHP applications
Fund package maintenance!
roadrunner-server
Requires
- php: >=8.1
- ext-json: *
- google/common-protos: ^3.1|^4.0
- google/protobuf: ^3.7 || ^4.0
- spiral/goridge: ^4.0
- spiral/roadrunner: ^2023.1 || ^2024.1
- spiral/roadrunner-worker: ^3.0
Requires (Dev)
- jetbrains/phpstorm-attributes: ^1.0
- mockery/mockery: ^1.4
- phpunit/phpunit: ^10.0
- vimeo/psalm: >=5.8
README
RoadRunner GRPC Plugin
RoadRunner GRPC is an open-source (MIT) high-performance PHP GRPC server build on top of RoadRunner. Server support both PHP and Golang services running within one application.
Features
- native Golang GRPC implementation compliant
- minimal configuration, plug-and-play model
- very fast, low footprint proxy
- simple TLS configuration
- debug tools included
- Prometheus metrics
- middleware and server customization support
- code generation using
protoc
plugin (Plugin can be downloaded from the roadrunner releases page) - transport, message, worker error management
- response error codes over php exceptions
- works on Windows
Documentation
You can find more information about RoadRunner GRPC plugin in the official documentation.
Example
You can find example of GRPC application in example directory.
License:
MIT License (MIT). Please see LICENSE
for more information. Maintained
by SpiralScout.