Found this great composer project: https://github.com/clue/phar-composer
download latest https://github.com/clue/phar-composer/releases/latest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## download and install phar-composer | |
$ wget https://github.com/clue/phar-composer/releases/download/v1.0.0/phar-composer.phar | |
$ chmod 755 phar-composer.phar | |
$ sudo mv phar-composer.phar /usr/local/bin/phar-composer | |
## test executable | |
$ phar-composer --version | |
## Now test usage by "Eating your own dogfood" | |
$ phar-composer install clue/phar-composer | |
## the result should be the reinstallation of the previous installed phar-composer | |
## (after you need to give the sudo password) | |
## now try installing mageconfigsync | |
$ phar-composer install punkstar/mageconfigsync:dev-release/0.5.0 | |
## test executing mageconfigsync for command help | |
$ mageconfigsync | |