Php package from deluge console
Run composer require neosoftware/deluge-php
$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;
}