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,475 | 7,480 | 18 | 13M | 3 | 29.1 | 45.8 | BSD-3-Clause | 4 years ago | |
| nikolaposa/version | 0.88 | 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. | 139 | 141 | 13 | 233K | 1 | 8.2 | 44.5 | MIT | 1 year ago | |
| z4kn4fein/php-semver | 0.85 | — | 25 | 26 | 5 | 81K | 0 | 2.8 | 48.2 | MIT | 2 years ago | |
| zendframework/zend-version | 0.84 | Lightweight Zend Framework component for reading and comparing Zend Framework version information. Helpful for diagnostics, compatibility checks, and conditional behavior in apps and libraries. Includes utilities to retrieve version strings and compare versions. | 7 | 6 | 7 | 17K | 7 | 1.1 | 33.4 | BSD-3-Clause | — | |
| herrera-io/version | 0.84 | PHP library for Semantic Versioning (SemVer 2.0.0): parse versions into a builder, increment major/minor/patch, edit pre-release/build metadata, validate formats, compare versions, and dump back to strings for release tooling. | 114 | 115 | 18 | 3K | 1 | 1.0 | 13.5 | MIT | 12 years ago | |
| phlak/semver | 0.83 | A lightweight PHP library for parsing, comparing, and manipulating Semantic Versioning (SemVer) strings. Create and normalize versions, check equality and precedence, validate input, and work with constraints for dependency checks in your apps and packages. | 183 | 184 | 17 | 34K | 0 | 5.6 | 31.5 | MIT | 11 months ago | |
| jean85/pretty-package-versions | 0.82 | Lightweight wrapper to fetch human-friendly version strings for installed Composer dependencies. Works across Composer 1 and 2 with a smooth upgrade path, using the appropriate backend (InstalledVersions or package-versions-deprecated) as needed. | 1,310 | 1,314 | 15 | 8M | 0 | 13.0 | 52.5 | MIT | 1 year ago | |
| hamcrest/hamcrest-php | 0.70 | Official PHP port of Hamcrest matchers for expressive assertions in tests. Use MatcherAssert::assertThat() or convenient global functions (assertThat, equalTo, is, both/andAlso, either/orElse) to build readable, composable matchers with PHP-friendly typing. | 7,010 | 7,022 | 46 | 9M | 10 | 31.5 | 47.6 | NOASSERTION | 1 year ago | |
| simplesamlphp/assert | 0.69 | Fork of webmozart/assert that lets every assertion throw your chosen exception (or a default AssertionFailedException) instead of always InvalidArgumentException. Adds a few custom assertions aimed at XML/SAML2 use cases. | 7 | 7 | 3 | 224K | 1 | 0.5 | 55.2 | LGPL-2.1 | 1 year ago | |
| illuminate/validation | 0.69 | Core Laravel validation component providing a fluent, rule-based validator for arrays and request input. Supports built-in and custom rules, conditional validation, messages and attributes, error bags, and translation-ready output for consistent data validation across apps. | 188 | 201 | 66 | 474K | 0 | 2.9 | 47.0 | MIT | — | |
| zendframework/zend-validator | 0.69 | Powerful validation library from Zend Framework for PHP apps. Provides a wide range of reusable validators, input filtering, and custom rule support with clear error messages. Integrates easily into forms and domain validation workflows. | 179 | 181 | 133 | 144K | 41 | 12.0 | 36.6 | BSD-3-Clause | 6 years ago | |
| sandermuller/laravel-fluent-validation | 0.69 | Type-safe, IDE-autocomplete Laravel validation rule builders. Create rules fluently without memorizing strings; each rule exposes only valid methods. Define nested array validation with each()/children(). Optional HasFluentRules trait speeds wildcard validation dramatically (up to 160x). | 199 | 198 | 2 | 5K | 0 | 29.2 | 23.8 | MIT | 3 days ago | |
| bovigo/assert | 0.69 | Functional-style assertions for PHP unit tests. Use assertThat(value, predicate[, description]) for readable checks with helpful failure messages. Integrates with PHPUnit via AssertionFailure extending AssertionFailedError. Requires PHP 8.3+. | 13 | 13 | 6 | 799 | 1 | 19.4 | 26.9 | BSD-3-Clause | 6 months ago | |
| memio/linter | 0.69 | Memio Linter provides a set of Memio Validator constraints to lint Memio models for syntax and structural issues. Use it standalone or as part of the Memio code generator to validate arguments, methods, contracts, objects, files, and collections. | 3 | 3 | 1 | 605 | 0 | 16.2 | 32.2 | MIT | 4 months ago |
How can I help you explore Laravel packages today?