https://github.com/ngmy/phar-extractor
A console command to extract the contents of a PHAR archive
https://github.com/ngmy/phar-extractor
bulk-extract bulk-extractor extract extractor phar phars-xml phive php
Last synced: 8 months ago
JSON representation
A console command to extract the contents of a PHAR archive
- Host: GitHub
- URL: https://github.com/ngmy/phar-extractor
- Owner: ngmy
- License: mit
- Created: 2021-03-16T08:20:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-11T13:18:50.000Z (about 5 years ago)
- Last Synced: 2025-02-05T19:11:25.369Z (over 1 year ago)
- Topics: bulk-extract, bulk-extractor, extract, extractor, phar, phars-xml, phive, php
- Language: PHP
- Homepage:
- Size: 2.13 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# PHAR Extractor
[](//packagist.org/packages/ngmy/phar-extractor)
[](//packagist.org/packages/ngmy/phar-extractor)
[](//packagist.org/packages/ngmy/phar-extractor)
[](//packagist.org/packages/ngmy/phar-extractor)
[](//packagist.org/packages/ngmy/phar-extractor)
[](https://github.com/ngmy/phar-extractor/actions/workflows/php.yml)
[](https://coveralls.io/github/ngmy/phar-extractor?branch=master)
[](https://github.com/phpstan/phpstan)
[](https://shepherd.dev/github/ngmy/phar-extractor)
[](https://shepherd.dev/github/ngmy/phar-extractor)
PHAR Extractor is a console command to extract the contents of a PHAR archive.
```console
./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](https://github.com/ngmy/phar-extractor/releases).
### PHIVE
Execute the PHIVE `install` command:
```console
phive install --force-accept-unsigned ngmy/phar-extractor
```
### Composer
Execute the Composer `require` command:
```console
composer require ngmy/phar-extractor
```
## Usage
```console
./phar-extractor.phar help
```
## Documentation
Please see the [API documentation](https://ngmy.github.io/phar-extractor/api/).
## License
PHAR Extractor is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).