PHAR Extractor is a console command to extract the contents of a PHAR archive.
./phar-extractor.phar extract tools/phpunit
./phar-extractor.phar extract-dir tools
./phar-extractor.phar extract-phive-xml
PHAR Extractor has the following requirements:
- PHP >= 7.3
Download the PHAR file from the GitHub Releases page.
Execute the PHIVE install
command:
phive install --force-accept-unsigned ngmy/phar-extractor
Execute the Composer require
command:
composer require ngmy/phar-extractor
./phar-extractor.phar help
Please see the API documentation.
PHAR Extractor is open-sourced software licensed under the MIT license.