jonnyynnoj / haxball-replay-parser
Parses a haxball replay file (.hbr)
Package info
github.com/jonnyynnoj/haxball-replay-parser
pkg:composer/jonnyynnoj/haxball-replay-parser
1.0.3
2017-03-26 16:41 UTC
Requires
- php: >=5.5
- mdurrant/php-binary-reader: ^1.0.8
This package is auto-updated.
Last update: 2026-03-01 00:10:43 UTC
README
Parses a haxball replay file
composer require jonnyynnoj/haxball-replay-parser
Usage
$file = fopen('path\to\replay.hbr', 'r'); // OR $file = file_get_contents('path\to\replay.hbr'); $parser = new ReplayParser\Parser($file); $replay = $parser->parse();
Output as JSON:
echo json_encode($replay);