Question

Which PHP RPC (XML or JSON) library have you successfully used?

I have done some research but haven't been able to find one library that stands out from the others.

I've found the following:

XML-RPC for PHP

XML_RPC (PEAR)

JSON-RPC PHP

And a few others that either don't look very active or mature.

Was it helpful?

Solution

I've used XML_RPC (PEAR) successfully. I'm not personally a fan of the xml-rpc "way" but the library was simple to use and we have a few dozen clients using it daily and pulling a fair amount of data over the wire and we've never had any problems.

We aren't pushing the envelope with this at all, in any way, but i'm very happy with the library since I don't even think about it anymore. The library isn't elegant or anything but neither is php or rpc, right?

OTHER TIPS

I've written a simple XML-RPC library for PHP 5, called Ripcord. You can download it at http://ripcord.googlecode.com/. It is as easy to use as I could make it, even for the more advanced features like system.multicall. Give it a try.

we've done a very RPC robust library, following with the RPC specs 100%. You can switch between JSON-RPC-2.0 and JSONP on the fly and it supports also batch requests, signed request and service method introspection basing on Dojo's RPC proposals.

  1. XApp-RPC core package https://github.com/XApp-Studio/xapp-Rpc
  2. Example usage : xappcommander.com

we've done this because all what was around didn't meet our license/quality requirements. Have fun.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top