HTTP client and server for JSON-RPC 2.0


This package allows you to set up a JSON-RPC client and/or server over HTTP(S), using your own PHP code to evaluate the requests.

This package abstracts away the details of the JSON-RPC messaging format and the HTTP(S) headers that are necessary for the client and server to communicate successfully.

You're free to use your own library to handle the requests. Likewise, you're free to route requests to your server endpoint through any system that you prefer! (See the "examples" folder for ready-to-use examples.)

This package allows you to communicate with a URL endpoint: If don't need to send or receive HTTP(S) headers, but just want to abstract away the internal JSON-RPC messaging format, then you should use the php-json-rpc package instead.

 - Correct: fully compliant with the JSON-RPC 2.0 specifications
 - Reliable: works in all environments (even when CURL is not installed)
 - Flexible: you can choose your own system for interpreting the JSON-RPC
   method strings
 - Minimalistic: just two tiny files
 - Ready to use, with working examples

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install php-datto-json-rpc-http