Files
renovate/lib/modules/versioning/composer
HonkingGoose 41fd7fbf46 docs: replace however with but (#14707)
Co-authored-by: Anne Stellingwerf <astellin@opentext.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-03-28 19:25:49 +00:00
..
2022-03-04 09:04:02 +01:00
2022-03-04 09:04:02 +01:00

Composer uses Semver-like versioning, but some package authors may use versions that are not completely valid, e.g. 1.2 instead of 1.2.0.

Composer supports ranges in a similar manner to npm, but not identical. The main difference is with tilde ranges.

Tilde ranges with "short" versions are different to npm. e.g.

~4 is equivalent to ^4 in npm ~4.1 is equivalent to ^4.1 in npm ~0.4 is equivalent to >=0.4 <1 in npm