chellem/transmission-bundle
Composer 安装命令:
composer require chellem/transmission-bundle
包简介
Symfony TransmissionBundle
README 文档
README
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
统计信息
- 总下载量: 373
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-1.0
- 更新时间: 2014-04-12