Composer Chinese Network is committed to promoting the world of PHP package management tools Composer in the domestic popularization and independent development and maintenance of packagist China full scale mirror system
Today to install a bag endroid/qrcode, but anyway not installed.
Composer require the installation of the time has been reported
[InvalidArgumentException]
Could not find package Endroid/qrcode in any version for your minimum-stability (stable). Check the PAC
Kage spelling or your minimum-stability
Then the new composer init an empty project can be installed. Then start to analyze the Composer.json file for my existing project.
The last discovery was the use of a domestic composer mirror, plus a configuration
{
"Repositories": [
{
"Packagist": false
},
{
"Type": "Composer",
"url": "Http://packagist.phpcomposer.com"
}
]
}
Only the last paragraph has been deleted and no previous paragraph has been deleted. The previous paragraph of the "Packagist": false also deleted the good.