Managing phar files using Phive
In the previous section, we learned about using
phar files instead of using Composer to install our code quality tools. This approach works fine, but it does require some extra work in case you want to update them.
$ wget https://github.com/phar-io/phive/releases/download/0.15.1/phive-0.15.1.phar -O phive $ chmod +x phive
For demonstration purposes, the simple download works just fine. Once the file is downloaded and made executable, you can directly start using Phive to install the first tools. Let us use
phploc, which we introduced in...