adambanaszkiewicz / semver-converter

Converts SemVer version (like Composer packages) into integer version with operators. Helps managing versions: store, compare, sort and retrive by conditions.
MIT License
5 stars 1 forks source link

Compatibility with other composer/semver major versions #2

Closed fjgarlin closed 2 years ago

fjgarlin commented 2 years ago

It currently requires "composer/semver": "~1.4", but the library is already at major version 3. It would be awesome to support this as otherwise the package cannot be installed in that setup.

fjgarlin commented 2 years ago

"composer/semver": "^3.2" should do.

adambanaszkiewicz commented 2 years ago

I've done the merge. There is a 0.4.0 release version with Your changes.