chellem/transmission-bundle

Symfony TransmissionBundle

Installs: 370

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 3

Forks: 4

Type:symfony-bundle

v1.0.0 2015-01-05 04:57 UTC

This package is auto-updated.

Last update: 2024-03-24 22:36:51 UTC


README

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