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

Json Rpc Turbo Bundle Laravel Package

tourze/json-rpc-turbo-bundle

A Symfony bundle that adds JSON-RPC support to your application, wiring Turbo-powered endpoints and services so you can expose and consume RPC methods with minimal configuration.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy (thin layer). JSON-RPC 2.0 is a small, fully specified protocol. The realistic decision is write ~200 lines of dispatch + error-envelope code vs. depend on this package. This assessment informs that trade, not a platform bet.
  • Protocol choice for internal services. If you are weighing JSON-RPC against REST or GraphQL for service-to-service or tool-call traffic, this package makes JSON-RPC cheap to prototype — batch requests, named/positional params, and structured error objects (code/message/data) come from the spec, not from your app code.
  • Roadmap placement. At 0.1.x this belongs in "spike / evaluation," not in a committed dependency list. It should not gate any dated deliverable.
  • Concrete use cases worth a spike: internal admin/tooling endpoints that need batched calls in one round trip; agent/tool-call transports and LSP-style clients where JSON-RPC 2.0 is the de facto contract; exposing a single typed RPC entrypoint instead of a sprawl of REST routes.
  • Explicit non-decisions. This package should not influence your auth model, API versioning strategy, or schema/serialization standards. Those remain yours regardless of transport.

Release note for 0.1.2: the changelog is a bare compare link (0.1.1...0.1.2) with no described changes. No feature, fix, or breaking-change delta can be verified, so this assessment carries over unchanged from the 0.1.x baseline.

When to Consider This Package

Consider it when:

  • You genuinely need JSON-RPC 2.0 semantics — batching, notification handling, spec-shaped error codes — and want to skip hand-rolling request validation, method dispatch, and error mapping.
  • The integration is greenfield, internal, and non-critical-path, so a pre-1.0 dependency is an acceptable risk.
  • Your team can vendor or fork it if needed; the surface area appears small enough for that to be realistic.
  • You have verified it actually fits Laravel: service-provider auto-discovery, config publishing, container bindings, and supported PHP/Laravel version constraints. The -bundle naming and tourze vendor suggest Symfony heritage — confirm this is Laravel-first rather than Symfony code that happens to install.

Look elsewhere when:

  • You need a stable public API, an SLA, or a security-review trail. A 0.1.x package with a single-maintainer profile and opaque release notes does not provide these.
  • You want Laravel-native conventions — FormRequests, policies, API Resources, first-party middleware. This likely gives you a protocol layer, not idiomatic Laravel ergonomics.
  • JSON-RPC is incidental and plain REST + Laravel's first-party routing/validation already covers the need. Adding a protocol package to save a few routes is a bad trade.
  • You cannot inspect the source before adopting. With no substantive changelog, source review is the only way to know what 0.1.2 actually changed — treat it as routine metadata/CI until proven otherwise.

Adoption guardrails if you proceed: pin the exact version, wrap it behind your own RpcDispatcher-style interface, keep it off customer-facing endpoints, and re-evaluate when the changelog becomes substantive or the package reaches 1.0.

How to Pitch It (Stakeholders)

For executives: This is a low-cost evaluation, not a commitment. It is a single Composer dependency that adds JSON-RPC request handling without new infrastructure or licensing cost. The real risk is maintenance continuity on a pre-1.0 package, and that risk is bounded: JSON-RPC is a published spec, so the fallback is replacing a small adapter with in-house code. Recommendation is a timeboxed spike behind an internal interface, with no customer-facing exposure and no roadmap dependency until 1.0.

For engineering: It gives you spec-compliant JSON-RPC dispatch and error envelopes instead of a bespoke router. The trade is that you inherit a 0.1.x dependency with thin release documentation — the 0.1.2 notes are only a diff link, so verify the diff yourself before upgrading. Mitigate by pinning the version, confining usage to a single adapter class, and confirming Laravel integration (provider discovery, config publishing, version constraints) during the spike rather than at integration time. If the source review is clean, the cost of adoption is a day; the cost of removal stays small by design.

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.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin