netzkolchose/php-simplexmlrpc

Simple XMLRPC client library for PHP

v0.0.3 2018-04-17 18:09 UTC

This package is not auto-updated.

Last update: 2024-05-17 20:19:05 UTC


README

Build Status Coverage Status

Simple XMLRPC client library for PHP.

Supports:

  • HTTP, HTTPS and HTTP+UNIX (HTTP over unix domain sockets)
  • Basic Auth
  • multicall

Example:

$server = new \SimpleXmlRpc\ServerProxy("https://example.com:443/xmlprc");
$server->system->listMethods();
$server->some_method($arg1, $arg2);
$server->some->very->deep->method();

Multicall example:

$server = new \SimpleXmlRpc\ServerProxy("https://example.com:443/xmlprc");
$multicall = new \SimpleXmlRpc\Multicall($server);
$multicall->system->listMethods();
$multicall->some_func();
$multicall->some_other_func($arg1, $arg2);
$result = $multicall();