Installation
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
Use Chinese Packagist
composer config -g repo.packagist composer https://packagist.phpcomposer.com
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
composer config -g repo.packagist composer https://packagist.phpcomposer.com