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

Openrpc Laravel Package

psx/openrpc

psx/openrpc is a PHP library for building JSON-RPC APIs that follow the OpenRPC specification. It provides schema-driven service definitions, validation, and PSX framework integration for discoverable, self-documenting RPC endpoints.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • API contract strategy: decide whether a JSON-RPC API should be contract-first and machine-readable; this package provides type-safe PHP model classes for generating an OpenRPC specification instead of hand-maintaining JSON.
  • Build vs buy: borrow a small Apache-licensed model layer rather than building OpenRPC DTOs from scratch; keep the generation workflow thin and replaceable.
  • Roadmap support: useful if the roadmap includes JSON-RPC endpoints, generated API docs, contract testing, client/SDK generation, or internal developer tooling. Not relevant for typical REST/OpenAPI products.
  • Developer experience: enables a Laravel Artisan command or CI step that emits openrpc.json, publishes it to docs, and validates implementation/spec drift.
  • Risk decision: with 3 stars and 0 dependents, treat it as a pilot/internal dependency, not a critical-path platform bet; pin, wrap, test, and retain a fork/vendor option.

When to Consider This Package

  • Consider it when a PHP/Laravel backend exposes or documents JSON-RPC APIs, the team wants type-safe OpenRPC model classes, and the scope is small enough to tolerate an immature dependency.
  • Also consider it for internal developer platforms, spec-first contract tests, documentation pipelines, or generated clients where OpenRPC is the chosen standard.
  • Look elsewhere if the product uses REST/OpenAPI, needs a Laravel-native package, requires active community support/security response/SLA, or cannot absorb maintenance risk.
  • Avoid making it a critical public-contract dependency until due diligence covers maintenance activity, release history, test coverage, PHP/Laravel compatibility, and fallback/fork cost.

How to Pitch It (Stakeholders)

  • Executives: A low-cost, Apache-licensed building block for JSON-RPC API contracts. It can reduce hand-written spec drift and support docs/codegen, but its tiny adoption means it should be positioned as an internal pilot or bounded dependency, not a strategic platform commitment.
  • Engineering: Provides OpenRPC model classes via Composer. Expect integration work: wrap it in an application service or Artisan command, pin the version, add contract tests, and generate openrpc.json in CI. There is no Laravel-native integration, so keep the adapter thin and retain a fork/vendor fallback.
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.
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
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin