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 6 months ago
docs Use badges instead of links 7 months ago
src Update PHPDoc 9 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 9 months ago
.travis.yml Fix allow failures syntax 9 months ago Release 1.3.0 9 months ago Remove hacked website 9 months ago start library 2 years ago Simplify readme 7 months ago
composer.json Homepage 6 months ago
legacy.php Update PHPDoc 9 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.