A Transmission-RPC API SDK for PHP with Laravel Support.
Via Composer
$ composer require irazasyed/php-transmission-sdk php-http/guzzle6-adapter
Note: You can use HTTP Client of your choice, for the list of adapters please check HTTPlug.
This package supports the package discovery functionality provided in Laravel >= 5.5, so you don't have to manually register the service provider or facade.
Copy the config file into your project
php artisan vendor:publish --provider="Transmission\Laravel\ServiceProvider"
$transmission = new Transmission\Client($hostname, $port, $username, $password, $httpClientBuilder = null);
$transmission->get(); // Get All Torrents.
// Laravel
$transfers = Transmission::get('recently-active'); //
The SDK supports all the methods listed in specs. For more details, check out transmission-rpc specs.
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.