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 11 months ago
docs Use badges instead of links 11 months ago
src Update PHPDoc 1 year ago
tests Add BencodeSerializable helper interface 2 years ago
.gitattributes Do not export tests and other build files 2 years ago
.gitignore Update phpunit and coverage 1 year ago
.travis.yml Fix allow failures syntax 1 year ago Release 1.3.0 1 year ago Remove hacked website 1 year ago start library 3 years ago Simplify readme 11 months ago
composer.json Homepage 11 months ago
legacy.php Update PHPDoc 1 year 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.