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

datto/json-rpc

Lightweight PHP library for building and parsing JSON-RPC 2.0 messages. Fully spec compliant, 100% unit-tested, and transport-agnostic so you can use HTTP, SSH, or any channel. Includes simple Client/Server APIs and working examples.

View on GitHub
Deep Wiki
Context7
6.1.0

Added

  • The "Client::preEncode" and "Client::postDecode" methods have been added to allow advanced users to inspect and tweak the inner workings of the JSON-RPC library.
  • The "Server::rawReply" method has been added to complement the new "Client" methods.
6.0.0

Changed

  • There are now two types of responses--an "ErrorResponse" and a "ResultResponse"-- which both derive from a base "Response" class. The "Client::decode" method returns a list of these "Response" objects. You can use the "instanceof" type operator to see which type of response you have received.
5.0.0

Added

  • The "Client::decode" method now throws an "ErrorException" when the input is not a valid JSON-RPC 2.0 reply string
  • The "Client::query" and "Client::notify" methods now return the object handle, so you can chain method calls if you like

Changed

  • The "Client::decode" method now returns a list of "Response" objects (rather than an associative array of raw JSON-RPC 2.0 keys and values)
  • The four exception classes have been moved (e.g. "Datto\JsonRpc\Exception\Application" => "Datto\JsonRpc\Exceptions\ApplicationException")
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.
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
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator