composer:Could not find a version of package xxx\yyy

需求:composer require xxx/yyy

报错:
[InvalidArgumentException
Could not find a version of package xxx/yyy matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability

解决方案: 手动安装

composer.json  require新增 

"require": {
"xxx/yyy": "dev-master"
}

执行命令
composer install

tags: PHP,Larave