ipejasinovic / swoole-grpc
OpenSwoole GRPC framework for building high performance services
Installs: 1 650
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.4
- ext-swoole: >=4.8
- google/protobuf: ^3.19
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.6
- phpunit/phpunit: ^9.5
- swoole/ide-helper: @dev
- vimeo/psalm: ^4.6
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.
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:
- Create
.proto
for your service - Generate PHP stub codes with Open Swoole GRPC Compiler
- Implement your own service
- Integrate with GRPC service with GRPC client
License
OpenSwoole GRPC is open-sourced software licensed under the Apache 2.0 license.