Download the PHP package aldobarr/qbittorrent-php without Composer

On this page you can find all versions of the php package aldobarr/qbittorrent-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 qbittorrent-php

QBittorrent PHP API

A PHP client for the qbittorrent WebUI API

Requirements

Installation

Please use Composer for the installation. For Composer documentation, please refer to getcomposer.org.

Install the module:

Basic Usage

Basic usage will indicate how to create a new api object with login credentials and make a raw request to the api. All requests using this object will maintain the login state for the life of the object. The raw request method will return a PSR-7 ResponseInterface object. See guzzle documentation.

Usage

The qbittorrent object allows you to create a more specific api wrapper for interacting with the different APIs available. For example the basic usage example above may be rewritten as such:

The application method will return an Application object which extends the main QBittorrent object and maintains the current login state. Each child object that implements an api prefix should contain a method that supports each api method under that prefix.

For accessing torrents, you may request a torrent object from the qbt object as such:

This torrent object may then interact with the torrent API. To get a list of all torrents use the torrents method:

For more information on available API methods, see the main QBittorrent WebUI Api documentation.

Adding a New Torrent

To add a new torrent use the addTorrent method of the QBittorrent class. This class supports all the parameters documented. All of the parameters are optional, however if both $urls and $file_paths are empty, then the method immediately returns false. Both $urls and $file_paths accept an array of values for adding torrents. The $file_paths parameter accepts an array of paths to try and send the binary file data to the qbittorrent api. $file_paths may also optionally be a key => value pair where the key is the name to specify for the file.

License

This php API wrapper is open-sourced software licensed under the GNU General Public License version 3.


All versions of qbittorrent-php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
guzzlehttp/guzzle Version ^7.5
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 aldobarr/qbittorrent-php contains the following files

Loading the files please wait ....