phildier/php-rtorrent-client

PHP XMLRPC client for rTorrent

Installs: 492

Dependents: 0

Suggesters: 0

Security: 0

Stars: 10

Watchers: 1

Forks: 6

Open Issues: 0

pkg:composer/phildier/php-rtorrent-client

v0.2.1 2015-06-18 16:07 UTC

This package is not auto-updated.

Last update: 2025-12-20 23:56:29 UTC


README

PHP XMLRPC client for rtorrent

Provides a simple, composer-installable XMLRPC client for communicating with the rTorrent bittorrent client

Requirements

  • PHP 5.5.0
  • PHP curl extension
  • PHP xmlrpc extension

Installation

Installation through composer is recommended:

composer require phildier/php-rtorrent-client

Example usage

<?php

require_once("../vendor/autoload.php");

$client = new PHPRtorrentClient\Client(array('rpc_address'=>"http://localhost:8981/RPC2"));

$request = new PHPRtorrentClient\Request("system.listMethods");

$methods = $client->exec($request);

print_r($methods->getAll());

Resources

rTorrent XMLRPC references: