https://github.com/openswoole/grpc
OpenSwoole GRPC for PHP [READ ONLY]
https://github.com/openswoole/grpc
grpc grpc-client grpc-php grpc-server openswoole
Last synced: about 2 months ago
JSON representation
OpenSwoole GRPC for PHP [READ ONLY]
- Host: GitHub
- URL: https://github.com/openswoole/grpc
- Owner: openswoole
- License: apache-2.0
- Created: 2022-02-03T12:59:18.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-08T22:07:39.000Z (over 1 year ago)
- Last Synced: 2024-11-15T07:36:32.390Z (over 1 year ago)
- Topics: grpc, grpc-client, grpc-php, grpc-server, openswoole
- Language: PHP
- Homepage: https://openswoole.com/docs/modules/grpc-server
- Size: 109 KB
- Stars: 44
- Watchers: 1
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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](https://grpc.io/) 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](https://getcomposer.org):
```bash
composer require openswoole/grpc
```
## Features
* Native GRPC implementation compliant
* PHP/PHP-FPM GRPC client compliant
* [OpenSwoole GRPC Compiler](https://github.com/openswoole/protoc-gen-openswoole-grpc) 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](https://github.com/openswoole/grpc/tree/main/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](https://openswoole.com/docs).