Bencode#
PHP Bencode Encoder/Decoder
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.
Installation#
# default version:
composer require 'sandfoxme/bencode'
# future compatible with 2.x:
composer require 'sandfoxme/bencode:^1.4 || ^2.4'
# future compatible with 3.x:
composer require 'sandfoxme/bencode:^1.7 || ^2.7 || ^3.0'
Documentation#
License#
The library is available as open source under the terms of the MIT License.