Hacking Composer
When you wanna
- use different version of PHP for Composer (or other CLI apps)
- use different
php.ini
with Composer, because of for example slow XDebug (that you don't even need with production phar of Composer)
Usage
- save
composer.sh
as/usr/local/bin/composer
- save
composer.php.ini
as/usr/local/etc/composer.php.ini
, or create your own ini chmod +x /usr/local/bin/composer
- profit
Mods
- You can easily change the used PHP runtime by changing the
php
binnary to an absolute path
Thanks !!