Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Jsonrpc Client Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for integration plumbing: If the roadmap includes connecting to any JSON-RPC 2.0 backend (payment/banking APIs, ERP connectors, blockchain nodes, internal platform services), this package turns a "build a client from scratch" ticket into a thin configuration + mapping task. That is weeks of engineering saved on a single integration, not a product differentiator.
  • Standardizing the integration layer: Choosing one client abstraction across all JSON-RPC endpoints (via configurable connections + facade) reduces bespoke curl/Guzzle code scattered across services, making error handling and observability consistent — a platform/architecture decision, not a feature.
  • Enabling multi-endpoint / multi-environment support: Configurable connections map cleanly to "one endpoint per market/tenant/environment," which supports decisions about multi-region rollouts, sandbox vs. production cutovers, and per-partner integrations without code branches.
  • Protocol choice on the roadmap: If a partner spec offers JSON-RPC (common with Tochka and similar banking/platform APIs) vs. REST/GraphQL, this lets the team accept JSON-RPC without hiring niche expertise — a "can we ship this partnership?" decision.
  • Risk/priority triage: With 8 stars, 0 dependents, and a single maintainer org, this is a vendor/library risk input. It should steer you toward wrapping/forking it rather than deep coupling if the integration becomes business-critical.
  • Use cases worth piloting: internal back-office tooling, MVP partner integrations, and admin dashboards calling an RPC service — places where fast delivery beats ecosystem pedigree.

When to Consider This Package

Consider it when:

  • The target service is genuinely JSON-RPC 2.0 (not "REST that looks like RPC") — this package is purpose-built for that shape.
  • You are on Laravel and want the service provider/facade/publishable config conventions your team already knows, or you need a plain-PHP client with no framework lock-in.
  • You need multiple named connections/endpoints and centralized transport + RPC error handling.
  • The integration is internal or low-blast-radius, or you are prepared to pin, fork, and test it as a small owned dependency.

Look elsewhere when:

  • The API is REST/OpenAPI or GraphQL — use a standard HTTP client or generated SDK; don't bend a JSON-RPC client to fit.
  • You need a JSON-RPC server — this package is client-only.
  • Maintenance/community maturity is a hard requirement: 8 stars, 0 dependents, and a single publishing organization mean no de facto community support; for a critical-path integration, prefer a well-adopted client or budget for ownership.
  • You need advanced transport features (streaming, batching, retries/circuit-breaking out of the box, async/promises) — verify against your needs first; the described scope is deliberately minimal.
  • You are not on PHP, or you cannot own a fork if upstream development stalls.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle