teamones/json-rpc
A JSON-RPC implementation for Laravel and PHP, offering request handling, method dispatching, and structured error responses for building RPC-style APIs and services.
teamones/json-rpc is a thin PHP client wrapper around stream_socket_client for JSON-RPC transport. It fits only if the target architecture already standardizes on JSON-RPC over raw TCP/Unix sockets or similar stream transports. It is not a full RPC platform: service discovery, load balancing, auth, TLS policy, retries, connection pooling, metrics, and circuit breaking must be supplied by the integrating team. For Laravel services that call HTTP JSON-RPC endpoints, Laravel’s HTTP client/Guzzle is likely a better default.composer.json, PHP/Laravel constraints, license, service provider/config/facade support, tests, timeout behavior, socket framing, connection lifecycle, and error mapping.JsonRpcClientInterface rather than injecting the package directly into domain code. Use configuration for endpoints, timeouts, TLS, auth, and framing. Avoid global singletons or long-lived sockets in Octane unless connection reuse is proven safe.How can I help you explore Laravel packages today?