scaytrase/rpc-common
Common PHP RPC interfaces and helpers with batch-style request support. Includes client decorators (lazy, logging, caching) plus test utilities like a mock client with queued responses and acceptance filters for predictable RPC testing.
Guzzle, Symfony HTTP Client) and modern API protocols make this redundant for most applications. The lack of Laravel-specific features (e.g., service providers, facades) increases coupling risk.ext-soap, ext-xmlrpc). The logging feature does not address security.Guzzle + custom JSON-RPC handlers or a modern package like overtrue/laravel-json-rpc be better? The 1.2.1 release does not provide a migration path.ext-soap, ext-xmlrpc), which are deprecated in PHP 8.0+. The 1.2.1 release does not modernize this.$this->app->bind(RpcClient::class, function ($app) {
return new \Scaytrase\RpcCommon\Client(config('rpc.endpoint'));
});
overtrue/laravel-json-rpc (actively maintained).php-grpc/grpc.Http client.| Risk | Impact | Mitigation |
|---|---|---|
| PHP Version Incompatibility | Integration fails | Use Docker/PHP 7.4 container |
| Protocol Deprecation | SOAP/XML-RPC removed in PHP 8.2 | Migrate to JSON-RPC/gRPC |
| Security Vulnerabilities | Exploitable dependencies | Isolate in a separate service |
| Undocumented Interfaces | Breaking changes undetected | Write integration tests |
| New: Logging Overhead | Increased log volume/noise | Configure log levels granularly |
overtrue/laravel-json-rpc). TheHow can I help you explore Laravel packages today?