In my composer.json
config file, I have:
"require": {
"zendframework/zend-log" : "~2.3",
},
"require-dev": {
"phpunit/phpunit": "^5.4"
}
I want:
"require": {
"zendframework/zend-log" : "^2.9",
},
"require-dev": {
"phpunit/phpunit": "^6.2"
}
Note the version number changes
How? I want it to be done automatically without me having to look up each individual latest version that's available and edit it manually.
There is this question but it does not help: How to resolve package not found error when trying to make the composer get the latest package versions?
Run
composer require zendframework/zend-log
and
composer require --dev phpunit/phpunit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With