php composer.phar add path code example Example: composer mac php composer-setup.php --install-dir=bin --filename=composer