PHPackages                             owenvoke/unit3d - 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. [API Development](/categories/api)
4. /
5. owenvoke/unit3d

ActiveLibrary[API Development](/categories/api)

owenvoke/unit3d
===============

 An object oriented PHP wrapper for the UNIT3D API

v0.1.0(4y ago)01[1 issues](https://github.com/owenvoke/unit3d-php/issues)MITPHPPHP ^7.4 || ^8.0

Since Oct 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/owenvoke/unit3d-php)[ Packagist](https://packagist.org/packages/owenvoke/unit3d)[ Fund](https://ecologi.com/owenvoke?gift-trees)[ GitHub Sponsors](https://github.com/owenvoke)[ RSS](/packages/owenvoke-unit3d/feed)WikiDiscussions main Synced 1w ago

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

UNIT3D PHP
==========

[](#unit3d-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/535382e3a489f74fdf702629657b25ffa58e70ba89d039a881fcdcc3318bb907/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f77656e766f6b652f756e697433642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/owenvoke/unit3d)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/48dfbc849cd9c64b205f62bb3d77455397a02735ab7c4acb7f8f47a02022d9ae/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6f77656e766f6b652f756e697433642f436f6e74696e756f7573253230496e746567726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/owenvoke/unit3d/actions)[![Style CI](https://camo.githubusercontent.com/513d3ad7de4b9498b297e600b6bf7d9ad85b0c5e8df9e309a37ee58ccd81a471/68747470733a2f2f7374796c6563692e696f2f7265706f732f3234303232353136302f736869656c64)](https://styleci.io/repos/240225160)[![Total Downloads](https://camo.githubusercontent.com/380f3f07718add87c5c9f4066291b0c5fc0cfc759851edcf06989e9791099b3f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f77656e766f6b652f756e697433642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/owenvoke/unit3d)[![Buy us a tree](https://camo.githubusercontent.com/910e097fe46a40add8f3484705ecbc26dc047df84b2fef027405f47408023d76/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54726565776172652d2546302539462538432542332d6c69676874677265656e3f7374796c653d666c61742d737175617265)](https://ecologi.com/owenvoke?gift-trees)

An object oriented PHP wrapper for the UNIT3D API

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

[](#requirements)

- PHP &gt;= 7.4
- A [PSR-17 implementation](https://packagist.org/providers/psr/http-factory-implementation)
- A [PSR-18 implementation](https://packagist.org/providers/psr/http-client-implementation)

Install
-------

[](#install)

Via Composer

```
composer require owenvoke/gitea guzzlehttp/guzzle:^7.4 http-interop/http-factory-guzzle:^1.2
```

We are decoupled from any HTTP messaging client with help by [HTTPlug](https://httplug.io).

Usage
-----

[](#usage)

**Basic usage**

```
// Include the Composer autoloader
require_once __DIR__ . '/vendor/autoload.php';

$client = new \OwenVoke\UNIT3D\Client();
$repositories = $client->torrents()->all();
```

**Authentication**

```
use OwenVoke\UNIT3D\Client;
$client = new Client();
$client->authenticate($apiToken, null, Client::AUTH_ACCESS_TOKEN);
```

**Self-hosted UNIT3D instances**

The UNIT3D PHP wrapper can be configured to use a custom-hosted instance, rather than `blutopia.xyz`.

```
// Specify the URL of the UNIT3D instance on client initialization
$client = new \OwenVoke\UNIT3D\Client(null, 'https://unit3d.example.com');
```

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](.github/CONTRIBUTING.md) for details.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Owen Voke](https://github.com/owenvoke)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

Treeware
--------

[](#treeware)

You're free to use this package, but if it makes it to your production environment you are required to buy the world a tree.

It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to plant trees. If you support this package and contribute to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

You can buy trees [here](https://ecologi.com/owenvoke?gift-trees).

Read more about Treeware at [treeware.earth](https://treeware.earth).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1670d ago

### 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 (16 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/owenvoke-unit3d/health.svg)

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

###  Alternatives

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)[m4tthumphrey/php-gitlab-api

GitLab API v4 client for PHP

9485.4M64](/packages/m4tthumphrey-php-gitlab-api)[deeplcom/deepl-php

Official DeepL API Client Library

2616.2M66](/packages/deeplcom-deepl-php)[jolicode/slack-php-api

An up to date PHP client for Slack's API

2534.4M12](/packages/jolicode-slack-php-api)

PHPackages © 2026

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