Eventum RPC Client Library.
We recommend installing this package with Composer.
To download Composer, run in the root directory of your project:
curl -sS https://getcomposer.org/installer | php
You should now have the file composer.phar
in your project directory.
Run in your project root:
php composer.phar require eventum/rpc
You should now have the files composer.json
and composer.lock
as well as
the directory vendor
in your project directory. If you use a version control
system, composer.json
should be added to it.
After installing the dependencies, you need to require the Composer autoloader from your code:
require __DIR__ . '/vendor/autoload.php';
<?php
require __DIR__ . '/vendor/autoload.php';
$rpc_url = "http://example.org/rpc/xmlrpc.php";
$client = new \Eventum\RPC\EventumXmlRpcClient($rpc_url);
$client->setCredentials("user@example.org", "password");
// add user@example.org as authorized replier in issue $issue_id belonging to project $project_id
$client->addAuthorizedReplier($issue_id, $project_id, "user@example.org");
The available XMLRPC Methods can also be seen from XMLRPC.md.
This software is Copyright (c) 2008 - 2020 Eventum Team.
This is free software, licensed under the GNU General Public License version 2.