PHP Classes

JSON RPC: Handle calls to JSON RPC Web services

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 1,278 All time: 3,004 This week: 455Up
Version License PHP version Categories
json-rpc 1.0MIT/X Consortium ...5.2PHP 5, Web services, AJAX


This class can handle calls to JSON RPC Web services.

It can register global PHP functions or functions of given PHP classes to implement Web services using the JSON RPC protocol.

The Web pages can use the jQuery library to send AJAX requests using the JSON RPC protocol and this class handles the request by calling the registered functions and returning the responses.

The class can also handle discovery and documentation requests about API provided by the registered functions.

Innovation Award
PHP Programming Innovation award nominee
June 2011
Number 2

Prize: One downloadable e-book of choice by O'Reilly
JSON RPC is a protocol popularized among the community of developers that use the jQuery library.

It is used to perform interactive communication between Web applications on the browser and the application server side.

This class can simplify the implementation of server side of a JSON RPC based application in PHP.

Manuel Lemos
Picture of Jonathan Gotti
Name: Jonathan Gotti is available for providing paid consulting. Contact Jonathan Gotti .
Classes: 13 packages by
Country: France France
Age: 47
All time rank: 724 in France France
Week rank: 276 Down10 in France France Down
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Plain text file class-jsonrpc.php Class main class
Accessible without login Plain text file hello.php Example sample jsonrpc service
Accessible without login Plain text file test.html Data javascrip proxy usage example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,004
This week:455Up
 User Ratings  
 All time