ngmy / phar-extractor
A console command to extract the contents of a PHAR archive
0.1.0
2021-04-10 13:48 UTC
Requires
- php: ^7.3|^8.0
- ngmy/observer: ^0.2.0
- ngmy/typed-array: ^0.11.0
- symfony/console: ^5.2
- symfony/finder: ^5.2
This package is auto-updated.
Last update: 2026-03-11 23:24:56 UTC
README
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
Requirements
PHAR Extractor has the following requirements:
- PHP >= 7.3
Installation
PHAR
Download the PHAR file from the GitHub Releases page.
PHIVE
Execute the PHIVE install command:
phive install --force-accept-unsigned ngmy/phar-extractor
Composer
Execute the Composer require command:
composer require ngmy/phar-extractor
Usage
./phar-extractor.phar help
Documentation
Please see the API documentation.
License
PHAR Extractor is open-sourced software licensed under the MIT license.