Expand description
Version comparison utilities.
Provides functions to compare two versions using Composer’s semver semantics.
Functions§
- compare
- Compare two versions using the specified operator.
- equal_
to - Check if version1 == version2.
- greater_
than - Check if version1 > version2.
- greater_
than_ or_ equal_ to - Check if version1 >= version2.
- less_
than - Check if version1 < version2.
- less_
than_ or_ equal_ to - Check if version1 <= version2.
- not_
equal_ to - Check if version1 != version2.