SpeedUp Composer (PHP)

This is a note of the way to speed up composer install.

Use mirror

If you live Asia or South America, use composer mirror.

https://packagist.org/mirrors

This is an example of setting when using Japanese mirror.

1
$ composer config -g repos.packagist composer https://packagist.jp

Use prestissimo

prestissimo is composer parallel install plugin.

1
$ composer global require hirak/prestissimo