PHPackages                             shubhank008/php-utorrent - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. shubhank008/php-utorrent

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

shubhank008/php-utorrent
========================

v1.1(3mo ago)04PHP

Since Feb 15Pushed 3mo agoCompare

[ Source](https://github.com/shubhank008/php-utorrent)[ Packagist](https://packagist.org/packages/shubhank008/php-utorrent)[ RSS](/packages/shubhank008-php-utorrent/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (4)Used By (0)

php-utorrent
============

[](#php-utorrent)

PHP client library for the classic uTorrent Web UI API (`/gui/`).

This fork provides an object-oriented wrapper around uTorrent endpoints and maps API responses into typed model/response objects.

Table of Contents
-----------------

[](#table-of-contents)

- (checking; constant name mirrors source code)[Overview](#overview)
- [Requirements](#requirements)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Core API (`UtorrentClient`)](#core-api-utorrentclient)
- [Response APIs](#response-apis)
    - [`BaseResponse`](#baseresponse)
    - [`ListResponse`](#listresponse)
    - [`PropResponse`](#propresponse)
    - [`SettingsResponse`](#settingsresponse)
    - [`FileResponse`](#fileresponse)
- [Model APIs](#model-apis)
    - [`BaseModel`](#basemodel)
    - [`Token`](#token)
    - [`Label`](#label)
    - [`File`](#file)
    - [`SettingItem`](#settingitem)
    - [`Torrent`](#torrent)
    - [`TorrentProp`](#torrentprop)
    - [`RssFeed`](#rssfeed)
    - [`RssItem`](#rssitem)
    - [`RssFilter`](#rssfilter)
- [Notes and Behavior](#notes-and-behavior)
- [Examples](#examples)
- [License](#license)

Overview
--------

[](#overview)

The library handles:

- uTorrent token retrieval and caching
- Authenticated HTTP calls to uTorrent Web UI
- Parsing/sanitizing response payloads
- Mapping uTorrent list/props/settings payloads to PHP objects
- In-memory filtering of result collections using Doctrine `Criteria`

Primary namespace:

- `Pbxg33k\UtorrentClient`

Requirements
------------

[](#requirements)

Defined in `composer.json`:

- `psr/cache`
- `doctrine/collections`
- `doctrine/deprecations`
- `guzzlehttp/psr7`
- `guzzlehttp/guzzle`

Installation
------------

[](#installation)

```
composer require shubhank008/php-utorrent
```

Quick Start
-----------

[](#quick-start)

```
