yoanm/symfony-jsonrpc-params-validator
A Symfony bundle that validates JSON-RPC request parameters using the Symfony Validator component. It plugs constraint-based validation into JSON-RPC handlers, helping you enforce typed rules and return clean errors for invalid calls.
type from library to symfony-bundle. That is a packaging declaration: the package expects Symfony Flex auto-registration of its DI extension, not Laravel's package discovery. This is the load-bearing signal for a PM on a Laravel/PHP stack — it tells you the package is Symfony-first and, if you're on Laravel, you'd be consuming it as a plain library with manual container wiring (or not at all).Consider it when all of the following hold:
params member (by-position and by-name forms).if checks per handler.Look elsewhere when:
symfony-bundle type change is a clear signal this is not packaged for Laravel's service provider discovery. Laravel's native FormRequest/Validator stack, or a JSON-RPC package with first-class Laravel support, will be less friction. Adopting this means manually instantiating Symfony-style config and accepting an ecosystem mismatch.To executives: This is a small, low-risk evaluation, not a strategic bet. We're assessing whether to reuse an existing JSON-RPC parameter validator instead of writing our own. The tradeoff is straightforward: adopting it saves roughly the engineering cost of building and maintaining validation logic, at the cost of one more small third-party dependency. The latest release (v3.0.2) contains no functional changes — it only corrects how the package declares itself to Composer so Symfony registers it automatically. Recommendation: no action required; this release does not change our position. Treat this as a "buy" only if JSON-RPC is on the roadmap and we are on Symfony; if we're on Laravel, we should default to native tooling.
To engineering: v3.0.2 is a packaging-only change — Composer type moves from library to symfony-bundle. Practical effect: with Symfony Flex, the bundle's DI extension is auto-registered and you drop the manual bundles.php entry on install; with anything else (notably Laravel), nothing changes and you wire it yourself. No API surface, no behavior, no deprecations, no breaking changes — a safe patch upgrade from 3.0.1. The important takeaway for architecture review is what the change confirms: this is a Symfony-first package. If we adopt it on a Laravel codebase, budget for manual container integration in the estimate. If we're on Symfony and doing JSON-RPC, the integration story just got slightly cheaper.
How can I help you explore Laravel packages today?