ngmy/phar-extractor

A console command to extract the contents of a PHAR archive

0.1.0 2021-04-10 13:48 UTC

This package is auto-updated.

Last update: 2024-04-11 19:25:22 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock PHP CI Coverage Status PHPStan Psalm Coverage Psalm Level

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.