├── .github ├── dependabot.yml └── workflows │ └── test.yml ├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml ├── src ├── Bencode.php ├── ParseException.php └── TorrentFile.php └── tests ├── DecodeTest.php ├── EncodeTest.php ├── TorrentFileTreeSortTest.php ├── TorrentHybridMultiTest.php ├── TorrentHybridSingleTest.php ├── TorrentV1MultiTest.php ├── TorrentV1SingleTest.php ├── TorrentV2MultiTest.php ├── TorrentV2SingleTest.php ├── asserts ├── hybrid-multi.torrent ├── hybrid-single.torrent ├── test-tree-sort.torrent ├── v1-multi.torrent ├── v1-single.torrent ├── v2-multi.torrent └── v2-single.torrent └── traits ├── TorrentFileCommonTrait.php ├── TorrentFileV1Trait.php └── TorrentFileV2Trait.php /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Bencode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/src/Bencode.php -------------------------------------------------------------------------------- /src/ParseException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/src/ParseException.php -------------------------------------------------------------------------------- /src/TorrentFile.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/src/TorrentFile.php -------------------------------------------------------------------------------- /tests/DecodeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/DecodeTest.php -------------------------------------------------------------------------------- /tests/EncodeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/EncodeTest.php -------------------------------------------------------------------------------- /tests/TorrentFileTreeSortTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/TorrentFileTreeSortTest.php -------------------------------------------------------------------------------- /tests/TorrentHybridMultiTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/TorrentHybridMultiTest.php -------------------------------------------------------------------------------- /tests/TorrentHybridSingleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/TorrentHybridSingleTest.php -------------------------------------------------------------------------------- /tests/TorrentV1MultiTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/TorrentV1MultiTest.php -------------------------------------------------------------------------------- /tests/TorrentV1SingleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/TorrentV1SingleTest.php -------------------------------------------------------------------------------- /tests/TorrentV2MultiTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/TorrentV2MultiTest.php -------------------------------------------------------------------------------- /tests/TorrentV2SingleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/TorrentV2SingleTest.php -------------------------------------------------------------------------------- /tests/asserts/hybrid-multi.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/asserts/hybrid-multi.torrent -------------------------------------------------------------------------------- /tests/asserts/hybrid-single.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/asserts/hybrid-single.torrent -------------------------------------------------------------------------------- /tests/asserts/test-tree-sort.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/asserts/test-tree-sort.torrent -------------------------------------------------------------------------------- /tests/asserts/v1-multi.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/asserts/v1-multi.torrent -------------------------------------------------------------------------------- /tests/asserts/v1-single.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/asserts/v1-single.torrent -------------------------------------------------------------------------------- /tests/asserts/v2-multi.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/asserts/v2-multi.torrent -------------------------------------------------------------------------------- /tests/asserts/v2-single.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/asserts/v2-single.torrent -------------------------------------------------------------------------------- /tests/traits/TorrentFileCommonTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/traits/TorrentFileCommonTrait.php -------------------------------------------------------------------------------- /tests/traits/TorrentFileV1Trait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/traits/TorrentFileV1Trait.php -------------------------------------------------------------------------------- /tests/traits/TorrentFileV2Trait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rhilip/Bencode/HEAD/tests/traits/TorrentFileV2Trait.php --------------------------------------------------------------------------------