hirak/prestissimo

composer parallel install plugin

Installs: 5 616 749

Dependents: 33

Suggesters: 22

Stars: 4 787

Watchers: 115

Forks: 130

Open Issues: 17

Type:composer-plugin

0.3.9 2019-05-04 08:16 UTC

README

Build Status Scrutinizer Code Quality Coverage Status Latest Stable Version Total Downloads License

This is a composer plugin that downloads packages in parallel to speed up the installation process.

Requirements

  • composer >=1.0.0 (includes dev-master)
  • PHP >=5.3, (suggest >=5.5, because curl_share_init)
  • ext-curl

Install

$ composer global require hirak/prestissimo

Uninstall

$ composer global remove hirak/prestissimo

Benchmark Example

288s -> 26s

$ composer create-project laravel/laravel laravel1 --no-progress --profile --prefer-dist

laravel

Config

prestissimo ^0.3.x

Recognize composer's options. You don't need to set any special configuration.

Composer authentication

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.json file with an oauth access token placed on the the same level as your composer.json file:

{
    "github-oauth": {
        "github.com": "YOUR_GITHUB_ACCESS_TOKEN"
    }
}

License

MIT License. See the LICENSE file.