Download the PHP package pure-bencode/pure-bencode without Composer
On this page you can find all versions of the php package pure-bencode/pure-bencode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download pure-bencode/pure-bencode
More information about pure-bencode/pure-bencode
Files in pure-bencode/pure-bencode
Download pure-bencode/pure-bencode
More information about pure-bencode/pure-bencode
Files in pure-bencode/pure-bencode
Vendor pure-bencode
Package pure-bencode
Short Description A simple and complete bencode encoder/decoder
License MIT
Package pure-bencode
Short Description A simple and complete bencode encoder/decoder
License MIT
Please rate this library. Is it a good library?
Informations about the package pure-bencode
pure-bencode
A simple, efficient and complete Bencode encoder/decoder for PHP.
Installation
Install the composer package.
Usage
Bencode::encode()
accepts only PHP values which can be converted to their exact original byBencode::decode()
. Those areint
s,string
s andarray
s whose contents are also valid.array
s with keys of the form 0, 1, 2...n with be encoded as lists. All others will be encoded as dictionaries with their keys in sorted order.- Any problems will result in a
\PureBencode\Exception
with an appropriate message.
That is all. Have fun Bencode
ing!
All versions of pure-bencode with dependencies
PHP Build Version
Package Version
No informations.
The package pure-bencode/pure-bencode contains the following files
Loading the files please wait ....