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 Check Ip Bundle Laravel Package

tourze/json-rpc-check-ip-bundle

tourze/json-rpc-check-ip-bundle is a Symfony bundle that adds IP-based access control to JSON-RPC endpoints. It helps allow or deny requests by client address, enforce trusted-network rules, and protect RPC services with simple configuration.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Access control for JSON-RPC surfaces. The package targets IP-based gating of JSON-RPC endpoints — deciding who may call which RPC methods. This directly supports features like partner-only integrations, internal admin RPC, or per-tenant endpoint restrictions without hand-rolling middleware in every service.
  • Security/compliance roadmap items. Relevant to "restrict internal APIs to known networks," zero-trust segmentation work, and audit findings that ask for network-level allowlisting in front of privileged operations. Useful as a concrete, cheap control to cite in a security review.
  • Build vs. buy (small). The functional surface is narrow — an IP allow/deny check layered on a JSON-RPC endpoint. The honest comparison is against ~50–100 lines of in-house middleware plus your existing proxy-header handling. Buy only if you're already in the tourze/Symfony ecosystem and want the convention for free.
  • Release signal for 0.0.3. A bare 0.0.2...0.0.3 changelog with no described changes is a process signal, not a feature signal. It supports a decision to treat the package as pre-1.0 and unpinned-risk, and to require diff review before any version bump — not a decision to adopt new capability.

When to Consider This Package

Consider it when all of the following hold:

  • You are running JSON-RPC endpoints and need a coarse, network-level allowlist as one layer of defense — not as your only authorization mechanism.
  • Your stack is already Symfony/tourze-oriented, so the bundle's conventions and config format are effectively free; or you're willing to adapt the check into Laravel middleware yourself.
  • You have an established, correct answer for client IP resolution behind load balancers and CDNs (trusted proxies, X-Forwarded-For handling). The package decides based on IP; it does not solve determining the IP, and that's where most real-world bypasses live.
  • You can tolerate 0.0.x semantics: no stability guarantee, possible signature changes between patch releases, thin community footprint.

Look elsewhere (or build in-house) when:

  • You need method-level or argument-level authorization — IP checks are the wrong primitive; you want token scopes, policy/gate checks, or per-method ACLs.
  • You're on Laravel and want idiomatic, well-supported middleware: Laravel's own request throttling plus a small custom IP-allowlist middleware (TrustProxies configured correctly) is lower-risk than a pre-1.0 third-party bundle.
  • You require a maintained dependency with a security disclosure process, changelog discipline, and a version you can pin with confidence. A release whose entire description is a compare link does not yet demonstrate that.
  • Your threat model includes clients behind shared NAT or mobile carriers, where IP allowlisting produces false denials and support load.

How to Pitch It (Stakeholders)

For executives: This is a small, low-cost building block for restricting who can reach internal or partner-facing JSON-RPC APIs by network origin. It is not a security product and not a substitute for authentication — think of it as one additional lock, worth roughly a day of engineering either way. The package is early-stage (0.0.x, minimal documented history), so the recommendation is to treat it as reference behavior, not a strategic dependency: adopt only if we're already in that ecosystem, and expect to own the code if it's abandoned.

For engineering: Narrow scope — IP allow/deny gating in front of JSON-RPC dispatch. The 0.0.3 release contains no described changes, so there's nothing to evaluate functionally; treat every bump as untrusted until the diff is read, and pin exact versions. Before adopting, confirm (a) how client IP is derived and whether trusted-proxy config is explicit, (b) whether checks are global or per-method, and (c) the failure mode — deny-by-default with a clear error, not a silent pass. If any of those are unclear from the source, the in-house middleware is roughly equivalent effort with full control and no supply-chain exposure.

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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings