Built on top of php-mpq

Inherits most of the php-mpq constructs, such as streams and decoreted streams to ease development and extensibility.

Streamed events

Parsing a long replay file can be hard on the memory usage, this is why all replay events are streamed using PHP 5 generators

Fully compatible

All replay structures are data mined from the official Blizzard replay parser implementation and thus is fully compatible down to the first public version of the game.

Available on GitHub for free

Star Replay is free and available on GitHub

Online demo

A very simple online demo

Star Replay

A PHP 5.5+ library that parses StarCraft II replay files into a rich object oriented graph.

composer require "rogiel/star-replay"