PHPackages                             pxgamer/tapi - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. pxgamer/tapi

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

pxgamer/tapi
============

A PHP class for utilising the TorrentAPI.

v1.0.6(8y ago)15MITPHPPHP ^7.1

Since Dec 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/owenvoke/tapi)[ Packagist](https://packagist.org/packages/pxgamer/tapi)[ RSS](/packages/pxgamer-tapi/feed)WikiDiscussions master Synced 2d ago

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

tAPI (torrentAPI)
=================

[](#tapi-torrentapi)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f179a369695d702f3351f0bdecc18baf0d82af721ff7ee3b2c0dbfd10e811151/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707867616d65722f746170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pxgamer/tapi)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/0702bcfc749f22b4161611539ebf50430f00aab75a7f9c6e6d7ff61ee0082763/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f707867616d65722f746170692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/pxgamer/tapi)[![Style CI](https://camo.githubusercontent.com/b0bc0876fd1b37880dd64ef925995af4567799998c75c38528fb5bd91d93a63e/68747470733a2f2f7374796c6563692e696f2f7265706f732f37333438363337312f736869656c64)](https://styleci.io/repos/73486371)[![Code Coverage](https://camo.githubusercontent.com/28aced6566a601525f7dfc6c4587b18a08738edd4ecb9d28ab96039aa1dee86a/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f707867616d65722f746170692e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/pxgamer/tapi)[![Total Downloads](https://camo.githubusercontent.com/ca6e1614228af382e499d93897a65deeb23e34f9597cb95b4907ca36530062e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707867616d65722f746170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pxgamer/tapi)

A PHP class for utilising the TorrentAPI.

Structure
---------

[](#structure)

```
src/
tests/
vendor/

```

Install
-------

[](#install)

Via Composer

```
$ composer require pxgamer/tapi
```

Usage
-----

[](#usage)

#### *Validating and signing in*

[](#validating-and-signing-in)

```
$tAPI = new \pxgamer\tAPI\Client;
$tAPI->setApiAuth('api_key');
```

Returns: `boolean`

#### *Signing out*

[](#signing-out)

```
$tAPI = new \pxgamer\tAPI\Client;
$tAPI->unsetApiAuth();
```

Returns: `boolean`

#### *Uploading a torrent*

[](#uploading-a-torrent)

```
$tAPI = new \pxgamer\tAPI\Client;
$tAPI->upload('file_path');
```

Returns: `json`

#### *Downloading a torrent*

[](#downloading-a-torrent)

```
$tAPI = new \pxgamer\tAPI\Client;
$tAPI->download('info_hash');
```

Returns: `json` | `file_content`

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 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

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 ~60 days

Recently: every ~89 days

Total

7

Last Release

3130d ago

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

v1.0.4PHP ^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 (27 commits)")

---

Tags

php-wrappertorrents

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M81](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.8k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M89](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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