**
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
**