tourze/json-rpc-security-bundle
A Symfony bundle that adds security controls to JSON-RPC endpoints, helping you authenticate requests, enforce method-level access rules, and protect RPC services with configurable middleware. Integrates with Tourze JSON-RPC components for safer API exposure.
Assessed version: 2.0.0. This is a major release, but the published release note only links to the full changelog/diff. Treat the upgrade as breaking until you have reviewed the 1.0.0...2.0.0 comparison and the package’s README/config changes.
Start by checking:
composer.json for PHP, Symfony/Laravel, and JSON-RPC dependency constraints.1.0.0...2.0.0 diff for removed/renamed classes, config keys, service IDs, and method signatures.A practical first use case is protecting a JSON-RPC endpoint by authenticating the caller, authorizing each RPC method before dispatch, and logging the decision. Start with one endpoint and a deny-by-default method allowlist rather than trying to retrofit security across every RPC route at once.
method, invalid id, and unsupported batch shapes with valid JSON-RPC errors.2.0.0 is a major version with no descriptive release notes beyond the changelog link. Pin to ^2.0 only after a deliberate upgrade spike; otherwise stay on ^1.0 until the diff is reviewed.How can I help you explore Laravel packages today?