The semantic version and version constraint parser is Masterminds/semver.