Composer 配置

composer config -g repo.packagist composer https://packagist.phpcomposer.com
config.json 
{
    "config": {},
    "repositories": {
        "packagist": {
            "type": "composer",
            "url": "https://packagist.phpcomposer.com"
        }
    }
}

 auth.json { "bitbucket-oauth": {}, "github-oauth": { "github.com": "06c4d473b2f81da40a9dcf95cd9dd18461a2483d"}, "gitlab-oauth": {}, "gitlab-token": {}, "http-basic": {} }

 

posted on 2017-02-13 13:25  Turb  阅读(109)  评论(0)    收藏  举报

导航