PHP Bencode (BitTorrent) Encoder/Decoder
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Anton Smirnov ede63d107e Homepage 9 months ago
docs Use badges instead of links 9 months ago
src Update PHPDoc 11 months ago
tests Add BencodeSerializable helper interface 1 year ago
.gitattributes Do not export tests and other build files 1 year ago
.gitignore Update phpunit and coverage 11 months ago
.travis.yml Fix allow failures syntax 11 months ago Release 1.3.0 11 months ago Remove hacked website 11 months ago start library 2 years ago Simplify readme 9 months ago
composer.json Homepage 9 months ago
legacy.php Update PHPDoc 11 months ago

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.