问答详情
源自:1-3 Composer中国全量镜像

composer修改镜像出错

全局命令composer config -g repo.packagist 提示:composer config repo.packagist composer https://packagist.phpcomposer.com 修改镜像命令composer https://packagist.phpcomposer.com 提示: [Symfony\Component\Console\Exception\CommandNotFoundException]   There are no commands defined in the "https" namespace.   这两个怎么解决

提问者:kun_z 2017-05-31 23:41

个回答

  • 果农民
    2017-06-06 22:44:34

    系统全局配置

    composer config -g repositories.packagist composer http://packagist.phpcomposer.com