Skip to content
Symfony Bundle for Transmission API client
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DependencyInjection
Resources/config
Tests
.gitignore
.travis.yml
LICENSE
README.md
TransmissionBundle.php
composer.json
composer.lock
logo.png
phpunit.xml.dist

README.md

TransmissionBundle

Join the chat at https://gitter.im/labzone/TransmissionBundle

Build Status Scrutinizer Code Quality SensioLabsInsight

Installation

using Composer:

{
    "require": {
        "chellem/transmission-bundle": "dev-master"
    }
}

CONFIGURATION

Register the bundle:

<?php
// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Transmission\Bundle\TransmissionBundle\TransmissionBundle(),
    );
    // ...
}

Configuration in your config.yml:

# app/config/config.yml
transmission: ~

By default: host: 127.0.0.1 port: 9091 username: null password: null

Full Configuration:

# app/config/config.yml
transmission:
    host: localhost
    port: 9091
    username: null
    password: null

Usage as service

// ...
$transmission = $this->container->get('transmission');
$torrents = $transmission->all();
$torrent  = $transmission->get(1);
// ...

You can use any other methods available through transmission-php

You can’t perform that action at this time.