neosoftware/deluge-php

Deluge php package from console

0.1 2020-01-16 19:23 UTC

This package is auto-updated.

Last update: 2025-06-17 07:27:19 UTC


README

Php package from deluge console

Install

Run composer require neosoftware/deluge-php

Use

$delugeConsole = new DelugeConsole([
    'host' => 'localhost',
    'user' => 'deluge',
    'password' => 'deluge',
]);

$torrents = (new InfoCommand($delugeConsole))->torrentList();

foreach($torrents as $torrent){
    print $torrent->name . ' '. $torrent->eta . PHP_EOL;
}