composer/semver
Composer Semver is a PHP library for parsing and validating version constraints, normalizing versions, and comparing releases. Extracted from Composer, it supports semver-style rules where possible while staying compatible with PHP’s version_compare.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phar-io/version | 0.91 | phar-io/version is a PHP library for parsing, comparing, and validating semantic versions and version constraints. Supports operators like >=, <=, caret (^) and tilde (~) ranges, plus pre-release labels, to check if versions comply. | 7,476 | 7,487 | 18 | 12M | 3 | 49.0 | 52.9 | BSD-3-Clause | 4 years ago | |
| nikolaposa/version | 0.85 | SemVer value object for PHP. Create versions from components or strings, access major/minor/patch plus pre-release/build metadata, compare versions (lt/gt/eq), and match against constraints for validation and dependency-style checks. | 140 | 141 | 12 | 198K | 0 | 28.1 | 51.2 | MIT | 1 year ago | |
| phlak/semver | 0.85 | phlak/semver is a lightweight PHP semantic versioning library for parsing, comparing, and manipulating version strings. Check constraints, bump major/minor/patch, and sort versions with a clean API—ideal for release tooling and dependency checks. | 182 | — | 17 | — | 0 | 21.5 | — | MIT | 9 months ago |
How can I help you explore Laravel packages today?