Download the PHP package highperapp/grpc without Composer
On this page you can find all versions of the php package highperapp/grpc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download highperapp/grpc
More information about highperapp/grpc
Files in highperapp/grpc
Download highperapp/grpc
More information about highperapp/grpc
Files in highperapp/grpc
Vendor highperapp
Package grpc
Short Description High-Performance gRPC Server with Rust FFI acceleration and pure PHP fallback
License MIT
Package grpc
Short Description High-Performance gRPC Server with Rust FFI acceleration and pure PHP fallback
License MIT
Please rate this library. Is it a good library?
Informations about the package grpc
HighPer gRPC
High-Performance gRPC Server with Rust FFI acceleration and pure PHP fallback for ultra-fast RPC communication. Built with Hybrid Multi-Process + Async architecture using AMPHP v3.
Features
- ๐ Rust FFI Acceleration with pure PHP fallback
- ๐ Hybrid Multi-Process + Async Architecture using AMPHP v3
- ๐ก๏ธ Circuit Breaker & Retry Patterns for fault tolerance
- ๐ฆ Framework Integration via PSR-11 service provider
- ๐งช Comprehensive Testing (Unit, Integration, Performance, Concurrency, Reliability)
- ๐ง Standalone & Framework Usage supported
- ๐ High Performance with parallel processing support
Requirements
- PHP 8.3+ or PHP 8.4+
- ext-ffi (for Rust acceleration)
- AMPHP v3+
- google/protobuf
Installation
Quick Start
Standalone Usage
Framework Integration
Architecture
- Hybrid Multi-Process + Async: Combines process isolation with async I/O
- AMPHP v3 Integration: Uses amphp/parallel for CPU-intensive tasks
- Circuit Breaker Pattern: Prevents cascade failures
- Retry Mechanism: Automatic retry with exponential backoff
- Dual Engine: Rust FFI for performance + PHP fallback for compatibility
Configuration
Testing
Examples
See the examples/ directory for:
server.php- Standalone server setupclient.php- Client usageframework-integration.php- Framework integration exampleGreeterService.php- Example service implementation
Performance
- High Throughput: Designed for high-concurrency scenarios
- Low Latency: Rust FFI acceleration for critical paths
- Resource Efficient: Process isolation with shared worker pools
- Fault Tolerant: Circuit breaker and retry patterns
Security
- TLS/HTTPS support (configurable)
- Input validation and sanitization
- Rate limiting capabilities
- Secure by default configuration
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
MIT License - see LICENSE file for details.
All versions of grpc with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3|^8.4
amphp/parallel Version ^2.0
amphp/http-server Version ^3.0
amphp/socket Version ^2.0
google/protobuf Version ^3.21
psr/log Version ^3.0
ext-ffi Version *
amphp/parallel Version ^2.0
amphp/http-server Version ^3.0
amphp/socket Version ^2.0
google/protobuf Version ^3.21
psr/log Version ^3.0
ext-ffi Version *
The package highperapp/grpc contains the following files
Loading the files please wait ...