Download the PHP package wwtg99/jsonrpc without Composer
On this page you can find all versions of the php package wwtg99/jsonrpc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package jsonrpc
JSON-RPC Server and Client
JSON-RPC 2.0 server and client, implementation of JSON-RPC 2.0 for Laravel.
Features
- JSON-RPC 2.0 only
- Support batch requests and notifications
- Simple to use for Laravel
- Require PHP >= 5.6 and GuzzleHttp >= 6.0
- License: MIT
JSON-RPC specification
Installation
For Lumen or earlier Laravel than v5.5, you need to register the service provider and alias manually,
Usage
Server Side
Bind Methods
Bind callback:
Bind class method
Handle requests
Add route
Or simply use
Client Side
Send request in client
The first parameter is json rpc server url, and second parameter is config options.
Options
- http_method: http method to send request, get or post, default post
- return_type: return type for response, json or string, default json
Other options will be sent to Guzzle client.
All versions of jsonrpc with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
~6.0
The package wwtg99/jsonrpc contains the following files
Loading the files please wait ....