Could not find a version of package tomorrow-sky/test matching your minimum-stability (stable)

**

composer require xx/xx 报错

**

  1. Could not find a version of package tomorrow-sky/test matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability.

因为我们在中国使用的镜像源的问题。

**

解决方案:更改镜像源

  1. composer config -g repo.packagist composer https://packagist.phpcomposer.com

**

发表评论

表情:
评论列表 (有 0 条评论,46人围观)

还没有评论,来说两句吧...

相关阅读