phar
Extracting files from .phar archive
Extending on @pozs’s answer, you can actually use PharData->extractTo in a simple one-liner: php -r ‘$phar = new Phar(“phar-file.phar”); $phar->extractTo(“./directory”);’
Extending on @pozs’s answer, you can actually use PharData->extractTo in a simple one-liner: php -r ‘$phar = new Phar(“phar-file.phar”); $phar->extractTo(“./directory”);’