All IO is performed on a generic and extensible Stream system that simplifies operations.
MPQ compression supported by the library and it transparently gives a uncompressed stream to read files
Available on GitHub for free
php-mpq is free and available on GitHub
a MPQ library in PHP
composer require "rogiel/mpq"