ixr-xmlrpc
The Incutio XML-RPC library (IXR) is designed primarily for ease of use. It incorporates both client and server classes, and is designed to hide as much of the workings of XML-RPC from the user as possible. A key feature of the library is automatic type conversion from PHP types to XML-RPC types and vice versa. This should enable developers to write web services with very little knowledge of the underlying XML-RPC standard., (*1)
Don't however be fooled by it's simple surface. The library includes a wide variety of additional XML-RPC specifications and has all of the features required for serious web service implementations., (*2)
Features
-
A complete implementation of the XML-RPC specification, (*3)
-
Written for PHP 4 in strict error reporting mode - no warnings or notices, (*4)
-
Basic classes are designed to be usable in as little code as possible, (*5)
-
Advanced classes extend the basic classes and provide additional features, (*6)
-
Can be used with both Object Orientated and functional programming styles, (*7)
-
Type conversions (PHP to XML-RPC and back again) are handled transparently, (*8)
-
Built in support for system.getCapabilities, (*9)
-
Built in support for system.listMethods, (*10)
-
system.methodSignature and system.methodHelp are supported in an extension class, (*11)
-
system.multicall is implemented in both the server and extended client classes, (*12)
-
Follows the Specification for Fault Code Interoperability, (*13)
Composer Install
-
Download the composer.phar
executable or use the installer., (*14)
sh
$ curl -sS https://getcomposer.org/installer | php
$ cp composer.phar /usr/local/bin/composer
$ chmod +x /usr/local/bin/composer
, (*15)
-
Add the following to your composer.json file:, (*16)
"greenfieldtech-nirs/ixr-xmlrpc": "dev-master"
So now, your composer.json should resemble the following:, (*17)
{
.
.
.
"require":{
"php":">=5.1.0",
.
.
.
"greenfieldtech-nirs/ixr-xmlrpc": "dev-master"
},
.
.
}
- Now, add the autoload to your PHP scripts and you are ready to go
require 'vendor/autoload.php';
Credits
The following people had contributed to the creation of this Composer package:, (*18)
- Nir Simionovich, http://www.simionovich.com
The original creators of the IXR XML-RPC Library are:, (*19)
-
Sebastian Berm, (*20)
-
Jason Stirk, (*21)
-
Simon Willison, (*22)