V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
garveen
V2EX  ›  PHP

Composer Packagist 镜像搭建工具

  •  
  •   garveen · 2017-03-07 17:22:24 +08:00 · 3210 次点击
    这是一个创建于 2608 天前的主题,其中的信息可能已经有所发展或是发生改变。

    https://github.com/garveen/imagist

    克隆即可使用,需要与 crontab 或者计划任务协作以同步数据。

    建议第一次先 dumpall ,以后就可比较容易地维持镜像为最新。

    整个镜像大小为 1.7G ,随着时间推移可能会变大,本人估计一年内不会超过 5G 。

    已提供一个新加坡低速镜像以供展示。

    composer config [--global] repo.packagist composer https://imagist.garveen.net

    3 条回复    2017-03-08 02:07:24 +08:00
    adesight
        1
    adesight  
       2017-03-07 21:08:07 +08:00
    GoBeyond
        2
    GoBeyond  
       2017-03-07 21:25:06 +08:00 via Android
    @adesight 这个服务中断过吗
    garveen
        3
    garveen  
    OP
       2017-03-08 02:07:24 +08:00
    @GoBeyond 三天两头停止更新
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2961 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 13:08 · PVG 21:08 · LAX 06:08 · JFK 09:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.