cszer

标签存档: laravel

国内Composer镜像收集

IN:PHP   Tags: ,    评论: 6   阅读:793 views

root@ubuntu:~# cat /root/.composer/config.json 
{
    "config": {

    },
    "repositories": [
        {"type": "composer", "url": "http://packagist.cn"},
        {"packagist": false}
    ]
}

其中 url 可替换为以下地址:

  • http://composer-proxy.jp/proxy/packagist
  • http://comproxy.cn/repo/packagist
  • http://pkg.phpcomposer.com/repo/packagist/
06-03
2015