r-green/jsonrpc-client

JSON RPC Client for PHP 5.4+

Installs: 58

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

pkg:composer/r-green/jsonrpc-client

1.4 2016-10-05 05:38 UTC

This package is not auto-updated.

Last update: 2025-09-28 01:28:13 UTC


README

Straight forward JSON RPC 2.0 Client for PHP without the bloat.

See JSON-RPC spec for more info: http://www.jsonrpc.org/specification

Composer

composer require r-green/jsonrpc-client

Usage

use JsonRpc\Client;

$params = [
    ...
];

$client = new Client('http://www.example.com');
$client->request(123456, 'myMethod', $params); // ID, Method, Params

$result = $client->send();