PHPackages                             owenvoke/torrent - 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. owenvoke/torrent

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

owenvoke/torrent
================

A set of torrent management classes with support for Torrent v2.

871[2 issues](https://github.com/owenvoke/torrent-php/issues)PHP

Since Nov 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/owenvoke/torrent-php)[ Packagist](https://packagist.org/packages/owenvoke/torrent)[ RSS](/packages/owenvoke-torrent/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Torrent
=======

[](#torrent)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ea83fcf7af9742cf273dc0490519de59e2798b6e60a7e2b2569bb08fee2f12bb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f77656e766f6b652f746f7272656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/owenvoke/torrent)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/b57abeef9451df04c88a6e61a586c830d261b8556e339da5752645b35a0eea66/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6f77656e766f6b652f746f7272656e742f54657374732e7376673f7374796c653d666c61742d737175617265)](https://github.com/owenvoke/torrent/actions)[![Static Analysis](https://camo.githubusercontent.com/060b16525c3b515b2b64cbd510776cb27274cf71c209650de07e6c5134ccc105/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6f77656e766f6b652f736b656c65746f6e2d7068702f537461746963253230416e616c797369732e7376673f7374796c653d666c61742d737175617265266c6162656c3d537461746963253230416e616c79736973)](https://github.com/owenvoke/skeleton-php/actions/workflows/static.yml)[![Total Downloads](https://camo.githubusercontent.com/ffd9dcc01b4bda322577fdbadea9d2cc298556c9c3c407faa12ed000842eaecc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f77656e766f6b652f746f7272656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/owenvoke/torrent)[![Buy us a tree](https://camo.githubusercontent.com/910e097fe46a40add8f3484705ecbc26dc047df84b2fef027405f47408023d76/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54726565776172652d2546302539462538432542332d6c69676874677265656e3f7374796c653d666c61742d737175617265)](https://ecologi.com/owenvoke?gift-trees)

A set of torrent management classes with support for BitTorrent v2.

Install
-------

[](#install)

Via Composer

```
composer require owenvoke/torrent
```

Usage
-----

[](#usage)

See [BEP52](https://github.com/bittorrent/bittorrent.org/blob/master/beps/bep_0052.rst) for more information on the BitTorrent v2 proposal.

*Please note, this is still a work-in-progress, and is by no means usable at the moment.*

In future, this will be a standalone library, the CLI will be distributed separately.

**List available commands**

```
torrent
```

**Create a torrent file for a file or directory**

```
torrent create 'file_or_directory'
```

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

16

—

LowBetter than 5% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 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.

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

---

Tags

phptorrenttorrent-v2

### Embed Badge

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

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

###  Alternatives

[xethron/extended-array

Extended Array gives PHP arrays new life

105.2k](/packages/xethron-extended-array)[anilcancakir/laravel-ai-sdk-skills

A skill system for Laravel AI SDK agents. Define reusable AI capabilities with SKILL.md files.

151.1k](/packages/anilcancakir-laravel-ai-sdk-skills)

PHPackages © 2026

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