wa72/jsonrpc-bundle
A Symfony bundle for building JSON-RPC 2.0 servers and clients. It registers server endpoints via controllers, exposes services as RPC methods, and provides a client for calling remote JSON-RPC APIs, with support for batch requests, notifications, and error handling.
Consider it when all of the following hold:
Look elsewhere when:
To executives: This is a small, free (MIT) Symfony component that lets us expose existing backend services as an internal API with very little new code — saving roughly the controller-and-plumbing work of a bespoke RPC layer. The trade-off is supplier risk: it is maintained by a single author with a small community and no downstream dependents. My recommendation is to treat it as an internal-tools accelerator, not a platform foundation — adopt only where a failure is containable and a fork is cheap. It changes no customer-facing roadmap commitments.
To engineering: It maps Symfony's service container directly onto JSON-RPC 2.0 — tag services, get a webservice. That means near-zero boilerplate, native reuse of our existing service layer, and no duplicate DTO/controller surface. Costs to plan for: it is Symfony-only (irrelevant to our Laravel work), it is not a security or documentation layer, and we should pin the version, vendor-review the dispatch path, and budget a half-day to prove we can fork and patch it. If we want schema contracts, auth policy, or public docs, those are ours to build — at which point compare against API Platform before committing.
How can I help you explore Laravel packages today?