Could not find a version of package tomorrow-sky/test matching your minimum-stability (stable)
**
composer require xx/xx 报错
**
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.
因为我们在中国使用的镜像源的问题。
**
解决方案:更改镜像源
composer config -g repo.packagist composer https://packagist.phpcomposer.com
**
还没有评论,来说两句吧...