tochka-developers/jsonrpc-client
A PHP/Laravel JSON-RPC client for connecting to remote JSON-RPC services with a clean, expressive API. It simplifies request building, endpoint configuration, and error handling, making it easy to integrate JSON-RPC APIs into Laravel applications.
curl/Guzzle code scattered across services, making error handling and observability consistent — a platform/architecture decision, not a feature.Consider it when:
Look elsewhere when:
To executives: This is a small, focused library that lets us talk to JSON-RPC services — a common pattern in partner and internal APIs — without writing a client from scratch. It removes boilerplate, standardizes how we handle failures across integrations, and supports multiple endpoints from configuration. Net effect: faster partner onboarding and less custom code to maintain. The trade-off is maturity: it is a low-adoption, single-organization package, so we should use it deliberately on lower-risk integrations and treat any mission-critical use as a dependency we own (pinned version, tests, and a fork path).
To engineering: Adopt it as a thin, replaceable adapter behind our own interface. It gives us Laravel-native wiring (provider, facade, publishable config), JSON-RPC 2.0 request/response handling, named connections, and unified transport/RPC error handling. Recommendations: isolate it behind an internal client contract so we can swap implementations; verify retry/timeout/batching requirements against the minimal documented scope; pin the version and add contract tests around error mapping. Use it where JSON-RPC is truly the protocol — not as a general HTTP client.
How can I help you explore Laravel packages today?