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

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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky