Answer the question
In order to leave comments, you need to log in
How are the versions different in composer?
For example "^1.0" and "~1.0" according to the doc https://getcomposer.org/doc/articles/versions.md#v... they will both update to 1.9.9 but different characters must be used for something and not alone?
Answer the question
In order to leave comments, you need to log in
For example ^1.2.3 is equivalent to >=1.2.3 <2.0.0
The ~ operator is best explained by example: ~1.2 is equivalent to >=1.2 <2.0.0, while ~1.2.3 is equivalent to >=1.2.3 <1.3.0
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question