Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hirak/prestissimo
composer parallel install plugin
https://github.com/hirak/prestissimo
Last synced: 2 days ago
JSON representation
composer parallel install plugin
- Host: GitHub
- URL: https://github.com/hirak/prestissimo
- Owner: hirak
- License: mit
- Created: 2015-11-30T13:35:26.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T08:11:28.000Z (about 2 years ago)
- Last Synced: 2024-10-29T11:22:35.762Z (about 1 month ago)
- Language: PHP
- Homepage:
- Size: 3.41 MB
- Stars: 6,186
- Watchers: 98
- Forks: 170
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- favorite-link - 作曲家并行安装插件-加速包安装。
- awesome-php - Prestissimo - This is a composer 1.x plugin that downloads packages in parallel to speed up the installation process. (Table of Contents / Dependency Management Extras)
- awesome - hirak/prestissimo - composer parallel install plugin (PHP)
- awesome-dev-machine - prestissimo (composer plugin) - plugin that downloads packages in parallel - Mac/Windows (Command Line Tools)
- awesome-projects - Prestissimo - A composer plugin which enables parallel install process. (PHP / Dependency Management Extras)
- awesome-composer - Prestissimo - A parallel downloader using `phpext_curl`. (Plugins / Support)
- awesome-php-cn - Prestissimo - 一个作曲家插件,支持并行安装过程. (目录 / 依赖关系管理临时演员 dependency-management-extras)
README
prestissimo (composer plugin)
=================================[![Build Status](https://travis-ci.org/hirak/prestissimo.svg?branch=master)](https://travis-ci.org/hirak/prestissimo)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/hirak/prestissimo/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/hirak/prestissimo/?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/hirak/prestissimo/badge.svg?branch=master)](https://coveralls.io/github/hirak/prestissimo?branch=master)
[![Latest Stable Version](https://poser.pugx.org/hirak/prestissimo/v/stable)](https://packagist.org/packages/hirak/prestissimo)
[![Total Downloads](https://poser.pugx.org/hirak/prestissimo/downloads)](https://packagist.org/packages/hirak/prestissimo)
[![License](https://poser.pugx.org/hirak/prestissimo/license)](https://packagist.org/packages/hirak/prestissimo)This is a [composer 1.x](https://getcomposer.org) plugin that downloads packages in parallel to speed up the installation process.
## Announcement: [Composer 2 is now available!](https://blog.packagist.com/composer-2-0-is-now-available/)
**This plugin is for Composer1; Composer2 is very fast on its own. Uninstall this plugin and update the Composer itself.**
## Requirements
- composer `>=1.0.0 <2.0`
- PHP `>=5.3`, (suggest `>=5.5`, because `curl_share_init`)
- ext-curl## Install, Updating & Upgrading
```bash
$ composer global require hirak/prestissimo
```## Uninstall
```bash
$ composer global remove hirak/prestissimo
```## Benchmark Example
288s -> 26s
```bash
$ composer create-project laravel/laravel laravel1 --no-progress --profile --prefer-dist
```![laravel](https://cloud.githubusercontent.com/assets/835251/12534815/55071302-c2ad-11e5-96a4-72e2c8744d5f.gif)
## Config
### `prestissimo ^0.3.x`
Recognize composer's options. You don't need to set any special configuration.
- [config.capath](https://getcomposer.org/doc/06-config.md#capath)
- [config.cafile](https://getcomposer.org/doc/06-config.md#cafile)## Composer authentication
To avoid Composer asking for authentication it is recommended to follow the procedure on [composer's authentication](https://getcomposer.org/doc/articles/troubleshooting.md#api-rate-limit-and-oauth-tokens).
For github.com you could also use an `auth.json` file with an [oauth access token](https://help.github.com/articles/creating-an-access-token-for-command-line-use/) placed on the the same level as your `composer.json` file:
```json
{
"github-oauth": {
"github.com": "YOUR_GITHUB_ACCESS_TOKEN"
}
}
```## License
MIT License. See the LICENSE file.