tourze/json-rpc-encrypt-bundle
A Symfony bundle that adds payload encryption to JSON-RPC services, helping secure request and response data exchanged between clients and servers. It integrates with the framework's configuration and dependency injection, making encrypted RPC endpoints easier to set up and maintain in PHP applicati...
What this package is (inferred): a Tourze-published Laravel/Symfony-style bundle that adds an encrypted transport layer on top of JSON-RPC. In product terms it is an encryption envelope plus RPC framing, not a feature end users see.
Decisions it can inform:
compare/1.0.1...2.0.0 link — no changelog, no migration guide, no security notes. That is itself a decision input: any team currently on 1.0.x must budget a manual diff review before upgrading, and any team planning to adopt should pin a reviewed commit rather than a floating constraint.composer require.Consider it when:
Look elsewhere when:
libsodium/Halite or your cloud KMS's envelope-encryption SDK directly instead of a thin bundle.2.0.0 signals a breaking wire-format or config change, and an encryption layer is the worst place for a half-upgraded fleet.Open questions to resolve before any adoption decision: PHP and Laravel version floor for 2.x, whether the wire format changed between 1.0.1 and 2.0.0, key management/rotation story, and what specifically broke. None of this is answerable from the release notes as published.
To executives (one paragraph): We're evaluating a small open-source PHP component that encrypts JSON-RPC traffic at the application layer, so sensitive payloads stay protected even after TLS terminates at our load balancer. It is a build-vs-buy call: buying saves roughly two to three weeks of engineering and security review. However, its new 2.0.0 release shipped with essentially no documentation of what changed, which is a governance red flag for a security-relevant dependency. Recommendation: treat it as a prototype-grade accelerator, not a procurement decision, until engineering has completed a source audit and we have confirmed the 2.x migration path.
To engineering (the ask): Before we commit, we need (1) a diff review of 1.0.1 → 2.0.0 with the specific breaking change identified, (2) confirmation of the crypto primitives — AEAD construction, nonce/IV generation, key derivation, and constant-time tag comparison — and (3) a documented key rotation story and PHP/Laravel version floor. Until then, pin an exact reviewed commit, do not float the constraint, and do not upgrade a live fleet mid-sprint.
Positioning summary: high leverage, low ceremony, unverified — adopt behind a spike and an audit, keep an exit path to native libsodium if the audit is unsatisfactory.
How can I help you explore Laravel packages today?