Skip to content

phildier/php-rtorrent-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

PHP XMLRPC client for rtorrent

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages