PHPackages                             stormwalkerec/php-bittorrent - 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. stormwalkerec/php-bittorrent

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

stormwalkerec/php-bittorrent
============================

PHP\\BitTorrent is a set of components that can be used to interact with torrent files (read+write) and classes that can encode/decode to/from the BitTorrent format.

1.1.0(13y ago)024MITPHPPHP &gt;=5.3.2

Since Jan 4Pushed 11y ago2 watchersCompare

[ Source](https://github.com/stormwalkerec/php-bittorrent)[ Packagist](https://packagist.org/packages/stormwalkerec/php-bittorrent)[ Docs](https://github.com/christeredvartsen/php-bittorrent)[ RSS](/packages/stormwalkerec-php-bittorrent/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

PHP\_BitTorrent
===============

[](#php_bittorrent)

**PHP\_BitTorrent** is a set of components that can be used to interact with torrent files (read+write) and encode/decode to/from the BitTorrent format.

[![Current Build Status](https://camo.githubusercontent.com/0c92989ede2f4e49f0a9e3673d9b93b5b406317f53e323eb3b2a9e35676354c9/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f636872697374657265647661727473656e2f7068702d626974746f7272656e742e706e67)](http://travis-ci.org/christeredvartsen/php-bittorrent)

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

[](#requirements)

PHP\_BitTorrent requires PHP 5.3.x or above. The recommended version is 5.3.2 or newer.

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

[](#installation)

PHP\_BitTorrent can be installed using PEAR, Composer or PHAR.

### PEAR

[](#pear)

```
sudo pear config-set auto_discover 1
sudo pear install --alldeps pear.starzinger.net/PHP_BitTorrent

```

### Composer

[](#composer)

Simply specify `christeredvartsen/php-bittorrent` in your dependencies. The different versions are listed at the [Packagist site](https://packagist.org/packages/christeredvartsen/php-bittorrent).

### PHAR

[](#phar)

You can also download [php-bittorrent.phar](https://github.com/christeredvartsen/php-bittorrent/raw/master/php-bittorrent.phar) and simply require that file where you want to use PHP\_BitTorrent.

```
