Weave Code
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

Advanced Json Rpc Laravel Package

danog/advanced-json-rpc

PHP JSON-RPC 2.0 dispatcher with request/response helpers. Decodes JSON-RPC calls and invokes target methods, coercing params via type hints and @param docs. Supports nested targets (configurable delimiter like "->" or "/").

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables building standards-compliant JSON-RPC 2.0 services with minimal boilerplate, supporting nested method namespaces (e.g., textDocument/didOpen) for clean API organization.
  • Eliminates manual parameter validation through automatic type coercion via PHP type hints and docblocks, reducing engineering effort and bugs.
  • Supports "buy vs build" decisions by providing a maintained, tested solution for RPC infrastructure—avoiding reinventing core protocol logic while accelerating time-to-market for internal service-to-service communication (e.g., language servers, microservices).
  • Aligns with roadmap needs for scalable, type-safe RPC endpoints where structured requests/responses are critical (e.g., IDE tooling, internal tooling APIs).

When to Consider This Package

  • Adopt when your project requires JSON-RPC 2.0 compliance, PHP 8.1+, and needs automatic parameter type coercion or nested method routing (e.g., LSP-style APIs).
  • Ideal for teams prioritizing maintainability, test coverage (via Codecov), and semantic versioning over custom RPC implementation.
  • Look elsewhere if: your system uses REST/GraphQL instead of RPC, requires built-in authentication/middleware, runs on legacy PHP versions (<8.1), or demands enterprise-grade support (given low dependents despite active maintenance).

How to Pitch It (Stakeholders)

Executives: "This package accelerates delivery of secure, standards-compliant RPC services by eliminating custom implementation costs. It handles complex type coercion and nested routing out-of-the-box, reducing engineering effort by 30-50% while ensuring reliability through tested code and semantic versioning—freeing teams to focus on business logic instead of protocol plumbing."
Engineering: "Built for PHP 8.1+, it provides type-safe dispatching with zero config—just define your target classes and let the dispatcher map parameters via docblocks. Supports nested targets for clean API organization, integrates seamlessly with existing projects, and avoids reinventing core RPC logic. Tested, maintained, and ready to ship."

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport