PHP code example of eventum / rpc
1. Go to this page and download the library: Download eventum/rpc library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
eventum / rpc example snippets
url = "http://example.org/rpc/xmlrpc.php";
$client = new \Eventum\RPC\EventumXmlRpcClient($rpc_url);
$client->setCredentials("[email protected]", "password");
// add [email protected] as authorized replier in issue $issue_id belonging to project $project_id
$client->addAuthorizedReplier($issue_id, $project_id, "[email protected]");
bash
curl -sS https://getcomposer.org/installer | php
php composer.phar