tochka-developers/jsonrpc
Laravel package for building JSON-RPC 2.0 APIs, with server and client support, route registration, middleware, validation, and structured error handling. Expose PHP classes as RPC methods and call remote JSON-RPC services.
v6.0.0-beta.2, which adds PHP 8.5 support. This is a compatibility expansion within the v6.0.0 beta line; it does not remove the major breaking changes already introduced in v6.0.0-beta.1.ApiValidation improve contract expressiveness. Moving summary/description ownership to OpenRPC still requires a process shift: API documentation metadata must be managed outside the Laravel package config.#[ApiMethod], config keys must be removed, customCasters must be replaced, and JsonRpcController trait usage must be eliminated.ApiMethod attributes can silently hide methods. Validation redesign may alter error contracts. Removing customCasters can break serialization/deserialization. Beta status still adds release instability risk. PHP 8.5 support lowers version-blocker risk for early adopters but does not address migration risk.JsonRpcController or customCasters? Who owns the OpenRPC spec and metadata? Which client-visible validation/error contracts must remain stable? Is PHP 8.3+/Laravel 11+ acceptable now, and do any target environments require PHP 8.5? What is the beta-to-GA timeline and support policy?#[ApiMethod] to every exposed method. Remove summary, description, allowParentMethods, and customCasters config. Replace custom casters with Laravel casts, DTOs, or explicit mapping. Remove deprecated JsonRpcController trait usage. Add PHP 8.5 to the target matrix only if the platform and dependency graph are ready for it.ApiMethod attributes; 4) refactor casters and trait usage; 5) pilot ApiValidation on object fields and nested parameters; 6) run regression and client contract tests across the supported PHP matrix; 7) production rollout only after beta/GA decision, with rollback plan.ApiMethod can make methods undiscoverable or unrouted. Removed config keys can cause startup/config errors. Removed trait can cause fatal errors. customCasters removal can break parameter/response casting. Validation redesign can break client expectations. Unsupported PHP/Laravel versions block installation; PHP 8.5 is now supported, but other versions remain blocked. Beta regressions may affect nested object handling.How can I help you explore Laravel packages today?