Skip to content

mjackson/bencode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Bencode is a library for PHP that implements the bencode encoding algorithm.

Usage

bencode(array(1,2,3,4,5));
bdecode("li1ei2ei3ei4ei5ee");

Tests

Bencode uses the PHPUnit unit testing framework for testing. In order to run the tests, run the following command from the project root directory:

$ phpunit tests/Bencode.php

Requirements

Bencode requires PHP version 5 or greater.

License

Bencode is released under the terms of the MIT license. Please read the LICENSE file for further information.

About

Bencode library for PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages