phpxmlrpc/jsonrpc

A php library for building jsonrpc clients and servers

Installs: 1 343

Dependents: 1

Suggesters: 2

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 2

pkg:composer/phpxmlrpc/jsonrpc

1.0.0-beta2 2024-04-15 12:35 UTC

This package is auto-updated.

Last update: 2025-10-08 17:08:37 UTC


README

A php library for building json-rpc clients and servers.

Originally bundled as part of the phpxmlrpc/extras package.

At the moment it has incomplete support for both version 2.0 and 1.0 of the JSON-RPC protocol. Features still to be implemented are: multicall and socket communications (both the provided Client and Server classes only work over HTTP).

Requirements and Installation

  • PHP >= 5.4.0
  • PHP Json extension
  • phpxmlrpc/phpxmlrpc >= 4.11.4

The recommended way to install this library is using Composer.

Documentation

Extras

  • This library does include a visual debugger which can be used to troubleshoot connections to 3rd party xml-rpc servers. In case you'd like to use the debugger but do not have a working PHP installation, you can run it standalone as a Container image. Instructions can be found at https://github.com/gggeek/phpxmlrpc-debugger

  • A companion PHP library, which adds support for JSON-RPC servers to automatically generate API documentation, and more, is available at https://github.com/gggeek/phpxmlrpc-extras

  • Last but not least, a Javascript library, implementing both XML-RPC and JSON-RPC clients using a very similar API, is available at https://github.com/gggeek/jsxmlrpc

License

Use of this software is subject to the terms in the license.txt file

License Latest Stable Version Total Downloads

Build Status Code Coverage