在我的composer.json配置文件中,我有:
"require": {
"zendframework/zend-log" : "~2.3",
},
"require-dev": {
"phpunit/phpunit": "^5.4"
} 我想要:
"require": {
"zendframework/zend-log" : "^2.9",
},
"require-dev": {
"phpunit/phpunit": "^6.2"
} 请注意版本号的变化
多么?我希望它是自动完成的,而不必查找每个可用的最新版本并手动编辑它。
有这样一个问题,但它没有帮助:How to resolve package not found error when trying to make the composer get the latest package versions?
发布于 2017-07-20 02:45:47
跑
composer require zendframework/zend-log和
composer require --dev phpunit/phpunithttps://stackoverflow.com/questions/45197446
复制相似问题