Download the PHP package mostertb/transmission-php without Composer

On this page you can find all versions of the php package mostertb/transmission-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package transmission-php

PHP Transmission API

Latest Stable Version Total Downloads License Build Status

This repo contains a fork of the un-maintained kleiram/transmission-php PHP Transmission RPC client library. This fork provides support for more recent versions of PHP and functionality in newer versions of Transmission as well as fixes to upstream issues. See the CHANGLOG for a full list of changes

The library provides an interface to the Transmission bit-torrent downloader. It provides means to get and remove torrents from the downloader as well as adding new torrents to the download queue.

Installation

Installation is easy using Composer:

Usage

Using the library is as easy as installing it:

To find out which information is contained by the torrent, check Transmission\Model\Torrent.

By default, the library will try to connect to localhost:9091. If you want to connect to another host or post you can pass those to the constructor of the Transmission class.

The constructor will also allow you to configure a non-standard RPC URL with its third parameter and a request timeout (in seconds) with its fourth parameter. All parameters are optional:

It is also possible to pass the torrent data directly instead of using a file but the metadata must be base64-encoded:

If the Transmission server is secured with a username and password you can authenticate using the Client class:

Additionally, you can control the actual Transmission setting. This means you can modify the global download limit or change the download directory:

Testing

Testing is done using PHPUnit. Assuming your composer install was done including development dependencies, you can run the version of PHPUnit supported by this project straight from the vendor directory:

License

This library is licensed under the BSD 2-clause license. Refer to the LICENSE file


All versions of transmission-php with dependencies

PHP Build Version
Package Version
Requires kriswallsmith/buzz Version >=0.9 <=0.16.1
symfony/property-access Version >=2.2.1
php Version ~7.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mostertb/transmission-php contains the following files

Loading the files please wait ....