Answer the question
In order to leave comments, you need to log in
Why is the package not updated through Composer?
This is the situation:
There is a locally installed package of version 0.3.0
Packagist already has a new version of 0.4.0
But the composer update command cannot update the package to the new version. Writes "Nothing to install or update".
Here is composer.json :
{
"name": "test/test",
"require": {
"mountpoint/curl": "^0.3.0"
},
"authors": [
{
"name": "test",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"prefer-stable": true
}
Answer the question
In order to leave comments, you need to log in
Problem found. Based on the official docs :
"vendor/package": "^1.3.2", // >=1.3.2 <2.0.0
"vendor/package": "^0.3.2", // >=0.3.2 <0.4.0 // except if major version is 0
I have the second case. That's why it hasn't been updated...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question