The PHAR Installation and Verification Environment (PHIVE)

Installation and verification of phar distributed PHP applications has never been this easy!

Adding all the required tools like PHPUnit, PHPMD and phpDox in their matching versions to a project used to be a lot of repetitive work: Started by finding the download URL, figuring out what the actually correct and matching version is followed by verifying the SHA1 and GPG signatures and making the archive executable. And of course you’d have to repeat this very thing for every tool needed.

Alternatively, you could have used composer. Only to clutter your project’s dependencies with the ones of your tools. And fight their potential dependency conflicts.

No more! Now you can rely on PHIVE to install and manage your project’s tooling needs without all the hassle and without cluttered dependencies!



Installation of PHIVE is easy and about the last time you have to do anything PHAR related manually.

Grab your copy of PHIVE from the releases section or run these simple steps in a terminal:

wget -O phive.phar
wget -O phive.phar.asc
gpg --keyserver --recv-keys 0x9D8A98B29B2D5D79
gpg --verify phive.phar.asc phive.phar
chmod +x phive.phar
sudo mv phive.phar /usr/local/bin/phive


Once installed, PHIVE is ready for action. Some example invocations are shown below:

phive install phpunit
phive install theseer/Autoload
phive install -copy phpdox
phive install --target ./build/tools phpdox
phive install
PHIVE is still under heavy development. Please report any issues you find!

Supported Tools

Many famous PHP tools can already be installed via PhiVE. Among them the following well known projects:

Your's missing? Let us know!


PHIVE and PHAR.IO are open source projects released under the BSD license. You are welcome to join the development team!

Fork us!