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 Encrypt Bundle Laravel Package

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...

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

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:

  • Build vs. buy for transport security. If a roadmap item reads "encrypt traffic between our Laravel services / mobile clients and the API," this package is a candidate to buy (~days of integration) versus building a nonce + AEAD envelope in-house (~2–3 weeks plus review cycles). The buy case is credible only if you can verify the crypto choices in source.
  • Whether to ship confidential RPC at all. It makes "payload-level encryption, not just TLS" a cheap option — relevant when traffic passes through a TLS-terminating load balancer, CDN, or third-party gateway where hop-by-hop encryption ends too early.
  • Architecture: end-to-end vs. perimeter security. Supports a decision to move confidentiality guarantees into the application layer for partner integrations or regulated data, instead of adding mTLS/service-mesh infrastructure.
  • Release risk / upgrade budgeting. 2.0.0 is a major version bump published with a bare 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.
  • Vendor concentration risk. Tourze publishes a large number of small, single-purpose packages. Adopting means accepting a low-bus-factor dependency in a security-sensitive path — a decision that should be made explicitly, not by default via composer require.

When to Consider This Package

Consider it when:

  • You already speak JSON-RPC 2.0 and need confidentiality inside the payload — i.e., TLS is terminated before the point where the data must remain secret.
  • You are on Laravel (or Symfony) and want the RPC + encryption wiring to come pre-assembled rather than hand-rolled per service.
  • Your team has PHP fluency sufficient to read and audit the encrypt/decrypt path — algorithm choice, key derivation, IV/nonce handling, and authentication tag verification — before it touches production.
  • The scope is internal or partner-facing service-to-service traffic where you control both ends and can coordinate a version upgrade together.

Look elsewhere when:

  • Standard TLS/mTLS already satisfies the threat model. Adding application-layer crypto on top of TLS is a real operational cost (key rotation, clock skew, debugging ciphertext) for often-marginal gain.
  • You need audited, independently reviewed cryptography. Use libsodium/Halite or your cloud KMS's envelope-encryption SDK directly instead of a thin bundle.
  • You require a documented changelog, a security disclosure policy, or a support commitment. The 2.0.0 release provides none of these.
  • You cannot coordinate the upgrade on both client and server simultaneously — 2.0.0 signals a breaking wire-format or config change, and an encryption layer is the worst place for a half-upgraded fleet.
  • You need long-term support or an SLA.

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.

How to Pitch It (Stakeholders)

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.

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.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log