Login   Register  
PHP Classes
elePHPant
Icontem

JSON RPC Client and Server: Implements JSON RPC protocol client and server

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-03-18 (8 months ago) RSS 2.0 feedNot enough user ratingsTotal: 545 This week: 1All time: 5,045 This week: 1,504Up
Version License PHP version Categories  
json-rpc-php 1.0GNU General Public Lice...5PHP 5, Web services
Description Author  

This package implements JSON RPC protocol 2.0 client and server.

There is a client class that can send HTTP requests to a given JSON RPC server to call a specified function passing any additional parameters.

It can also send multiple JSON RPC requests and return the results of all calls.

Another class can process server requests by registering a given object of service class and dispatching requests to be handled by that object.

Innovation Award  
PHP Programming Innovation award nominee
December 2012
Number 5


Prize: One book of choice by Packt
JSON RPC is a protocol created to be used in AJAX applications.

The fact that usually JavaScript is used on the browser side, made JSON an ideal format to serialize and unserialize the data exchanged with the server.

This package provides a PHP solution not only to create JSON RPC 2.0 based servers, but also to send requests from PHP applications to external JSON RPC servers.

Manuel Lemos
Picture of Mark Rolich
Name: Mark Rolich <contact>
Classes: 9 packages by
Country: Armenia Armenia
Age: 34
All time rank: 9922 in Armenia Armenia
Week rank: 37 Up2 in Armenia Armenia Equal
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imageexamples (5 files, 1 directory)
Accessible without login HTML file documentation.html Doc. Documentation
Plain text file JsonRpcClient.php Class JSON-RPC Client
Plain text file JsonRpcException.php Class JSON-RPC Errors
Plain text file JsonRpcServer.php Class JSON-RPC Server
Accessible without login Plain text file license.txt Lic. LICENSE
Accessible without login Plain text file README Data README

  Files folder image Files  /  examples  
File Role Description
Files folder imagetests (3 files)
  Accessible without login Plain text file client.php Example Example client
  Plain text file DataService.php Class example service class
  Plain text file MathService.php Class example service class
  Plain text file OptionalParamsService.php Class Added support and tests for optional parameters in service methods
  Accessible without login Plain text file server.php Example Example server

  Files folder image Files  /  examples  /  tests  
File Role Description
  Accessible without login Plain text file errors.php Test Test for additional errors
  Accessible without login Plain text file optional_params.php Test Added support and tests for optional parameters in service methods
  Accessible without login Plain text file spec_examples.php Test Test for specification errors

 Version Control Unique User Downloads Download Rankings  
 100%Total:545All time:5,045
 This week:1This week:1,504Up