composer parallel install plugin
This is a composer 1.x plugin that downloads packages in parallel to speed up the installation process.
This plugin is for Composer1; Composer2 is very fast on its own. Uninstall this plugin and update the Composer itself.
>=1.0.0 <2.0
>=5.3, (suggest
>=5.5, because
curl_share_init)
$ composer global require hirak/prestissimo
$ composer global remove hirak/prestissimo
288s -> 26s
$ composer create-project laravel/laravel laravel1 --no-progress --profile --prefer-dist
prestissimo ^0.3.x
Recognize composer's options. You don't need to set any special configuration.
To avoid Composer asking for authentication it is recommended to follow the procedure on composer's authentication.
For github.com you could also use an
auth.jsonfile with an oauth access token placed on the the same level as your
composer.jsonfile:
{ "github-oauth": { "github.com": "YOUR_GITHUB_ACCESS_TOKEN" } }
MIT License. See the LICENSE file.