hirak/prestissimo

Join GitHub today

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up

composer parallel install plugin

PHP JavaScript HTML

Permalink

Type Name Latest commit message Commit time
Failed to load latest commit information.
artifacts Added apigen, phpmetrics Feb 20, 2016
bin added coveralls.phar & ocular.phar Feb 18, 2018
src fix PHP codesniffer May 4, 2019
tests fix PHP codesniffer May 4, 2019
.coveralls.yml Removed coveralls token Jan 31, 2016
.gitattributes remove unused files May 4, 2019
.gitignore remove composer.lock (#179) Aug 26, 2018
.scrutinizer.yml add scrutinizer.yml Jan 24, 2016
.travis.yml Add support for PHP 7.3 Dec 11, 2018
LICENSE Happy new year Jan 22, 2017
README.md drop SensioLabs Insight badge May 4, 2019
composer.json Expanded the version of phpunit Aug 26, 2018
gulpfile.js update gulpjs to v4.x May 4, 2019
package-lock.json update gulpjs to v4.x May 4, 2019
package.json update gulpjs to v4.x May 4, 2019
phpcs.xml.dist Tweaked ParallelDownloader Feb 16, 2016
phpunit.xml.dist Added ctags generator May 20, 2016

prestissimo (composer plugin)

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.