Skip to content
PHP Bencode (BitTorrent) Encoder/Decoder
Branch: master
Clone or download
Latest commit ede63d1 Apr 19, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Use badges instead of links Apr 17, 2019
.gitattributes Do not export tests and other build files Apr 2, 2018
.travis.yml Fix allow failures syntax Feb 14, 2019 Release 1.3.0 Feb 14, 2019 Remove hacked website Feb 16, 2019 start library Mar 22, 2017 Simplify readme Apr 17, 2019
composer.json Homepage Apr 19, 2019
legacy.php Update PHPDoc Feb 14, 2019

PHP Bencode Encoder/Decoder

Packagist Packagist Travis Code Climate Code Climate

Bencode is the encoding used by the peer-to-peer file sharing system BitTorrent for storing and transmitting loosely structured data.

This is a pure PHP library that allows you to encode and decode Bencode data.


Run composer require 'sandfoxme/bencode:^1.3'.


Read full documentation here:


The library is available as open source under the terms of the MIT License.

You can’t perform that action at this time.