irazasyed/php-transmission-sdk
PHP Transmission-RPC API SDK
A Transmission-RPC API SDK for PHP with Laravel Support.
Install
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.
Laravel
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.
Configuration - (Optional)
Copy the config file into your project
php artisan vendor:publish --provider="Transmission\Laravel\ServiceProvider"
Usage
$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.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email gh@lukonet.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.5 | ^7.2 | ^5.5 | | MIT | |
| v1.4.2 | ^7.2 | ~5.5 | MIT | |
| v1.4.1 | ^7.2 | ~5.5 | MIT | |
| v1.4 | ^7.2 | ~5.5 | MIT | |
| v1.3.1 | ^7.1.3 | ~5.5 | MIT | |
| v1.3 | ^7.1.3 | ~5.5 | MIT | |
| v1.2 | ^7.1.3 | ~5.5 | MIT | |
| v1.1 | ^7.1.3 | ~5.5 | MIT | |
| v1.0 | ^7.1.3 | ~5.5 | MIT |
