php-json-rpc is a simple implementation of the JSON-RPC protocol in PHP.
One class is provided, JsonRpcClient, which acts as a proxy to the remote API endpoint.
After instantiating the class with the URI of the remote API endpoint as the only constructor parameter, remote API methods can be called directly on the instance and the result will be returned.
php-json-rpc is a compliant JSON-RPC 2.0 implementation but does not implement the batch or notification features.
The included example demonstrates retrieving an account balance from Metaname, a New Zealand domain name registrar.
This library was written by Amiton Ltd in response to the lack of JSON-RPC client libraries for PHP and the requirement that the Metaname API support PHP clients.
php-json-rpc is released under the terms of the New BSD License.