PHPackages                             pxgamer/worldwidetorrents-php - 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. pxgamer/worldwidetorrents-php

ActiveLibrary

pxgamer/worldwidetorrents-php
=============================

An easy to use wrapper for the WorldWideTorrents API written in PHP.

v1.2.2(8y ago)03MITPHPPHP ^7.1

Since Jan 3Pushed 8y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (9)Used By (0)

worldwidetorrents-php
=====================

[](#worldwidetorrents-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/faace164a886f3e07641e08202e1cc9ba807eb7cbf2193cdd87ce4433cd1f7c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707867616d65722f776f726c6477696465746f7272656e74732d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pxgamer/worldwidetorrents-php)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/a7cc50cf8aba2c78cf4cc4a65e354ee53637fd76042d312ef17c6ff26d104dcd/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f707867616d65722f776f726c6477696465746f7272656e74732d7068702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/pxgamer/worldwidetorrents-php)[![Style CI](https://camo.githubusercontent.com/576710597644f88c573df69aebc06afd7e1b49e0560d2db0c970988001bff901/68747470733a2f2f7374796c6563692e696f2f7265706f732f37373932383236312f736869656c64)](https://styleci.io/repos/77928261)[![Code Coverage](https://camo.githubusercontent.com/39130b8bd4527b584e3eeed3d57e629d603c2747373a0a40b051438466469740/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f707867616d65722f776f726c6477696465746f7272656e74732d7068702e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/pxgamer/worldwidetorrents-php)[![Total Downloads](https://camo.githubusercontent.com/327038ee5d83bee8714411baf64f105ef4b75449029aaedf66558accf7ee99bb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707867616d65722f776f726c6477696465746f7272656e74732d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pxgamer/worldwidetorrents-php)

An easy to use wrapper for the WorldWideTorrents API written in PHP.

Structure
---------

[](#structure)

```
src/
tests/
vendor/

```

Install
-------

[](#install)

Via Composer

```
$ composer require pxgamer/worldwidetorrents-php
```

Usage
-----

[](#usage)

```
$client = new Client();

// Use the specific classes as their short names
use \pxgamer\WorldWideTorrents;

// Create a new Client instance
$client = new WorldWideTorrents\Client();
$client->setAuthKey('API_KEY');

// Initialise a new instance of each class
$group  = new WorldWideTorrents\Group($client);
$mail  = new WorldWideTorrents\Mail($client);
$torrent = new WorldWideTorrents\Torrent($client);
$user = new WorldWideTorrents\User($client);
$account = new WorldWideTorrents\Account($client);
```

### Methods

[](#methods)

#### Client Class

[](#client-class)

```
/**
 * This is required to be initialised first.
 * It must be passed into all other classes.
 */
use \pxgamer\WorldWideTorrents\Client;
$client = new Client;
$client->setAuthKey('API_KEY');
```

### Group Class

[](#group-class)

```
use \pxgamer\WorldWideTorrents\Group;
$group = new Group($client);
```

*Getting a Group's information*

```
$group->getInfo(3);
```

*Getting a Group's torrents*

```
$group->getTorrents(3);
```

### Mail Class

[](#mail-class)

*Initialise the Mail class*

```
use \pxgamer\WorldWideTorrents\Mail;
$mail = new Mail($client);
```

*Getting a user's mail stats*

```
$mail->getStats(656);
```

### Torrent Class

[](#torrent-class)

*Initialise the Torrent class*

```
use \pxgamer\WorldWideTorrents\Torrent;
$torrent = new Torrent($client);
```

*Getting a torrent's information*

```
$torrent->getInfo(656);
```

### User Class

[](#user-class)

*Initialise the User class*

```
use \pxgamer\WorldWideTorrents\User;
$user = new User($client);
```

*Getting a user's information*

```
$user->getInfo(656);
```

*Getting a user's torrents*

```
$user->getTorrents(656);
```

### Account Class

[](#account-class)

*Initialise the Account class*

```
// Requires the API key to be set in the Client class
use \pxgamer\WorldWideTorrents\Account;
$account = new Account($client);
```

*Upload a torrent*

```
$account->upload('torrent_title', '@C:\torrents\t.torrent', 39);
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [pxgamer](https://github.com/pxgamer)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~56 days

Recently: every ~23 days

Total

7

Last Release

3078d ago

PHP version history (3 changes)v1.0.0PHP &gt;=5.5.0

v1.1.0PHP &gt;=5.6.0

v1.2.0PHP ^7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1899334?v=4)[Owen Voke](/maintainers/owenvoke)[@owenvoke](https://github.com/owenvoke)

---

Top Contributors

[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (37 commits)")

---

Tags

php-wrapperworldwidetorrentswwt-api

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/pxgamer-worldwidetorrents-php/health.svg)

```
[![Health](https://phpackages.com/badges/pxgamer-worldwidetorrents-php/health.svg)](https://phpackages.com/packages/pxgamer-worldwidetorrents-php)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
