Skip to content

A console command to extract the contents of a PHAR archive

License

Notifications You must be signed in to change notification settings

ngmy/phar-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHAR Extractor

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.