[推荐] prestissimo, Composer 并行加速下载插件

2019-06-13 13:50:18 +08:00
 ben1024

prestissimo (composer plugin)

github 原地址 prestissimo

使用了下安装速度蛮快的。

要求

安装

$ 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

自动识别作曲家的配置.不需要做其他改动

作曲家身份验证(需要 github 授权才能用到,例如 symfony/thanks )

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"
    }
}

许可证

MIT License. See the LICENSE file.

2686 次点击
所在节点    PHP
1 条回复
ritaswc
2019-06-19 11:52:13 +08:00
啧啧 有点意思

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/573543

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX