Packagist · packagist:composer/semver
composer/semver active
Version comparison library that offers utilities, version constraint parsing and validation.
| Latest stable version | 3.5.1 |
|---|---|
| Published | 2026-10-05 13:12:12+00:00 |
| Install | composer require composer/semver |
| Required PHP version (composer.json) | PHP ^5.3.2 || ^7.0 || ^8.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-10-08 19:59:32 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-10-05 13:12:12 UTC · 3 days ago |
| Stable releases in the last 12 months | 2 |
| Published versions | 39 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.5.1 | 2026-10-05 13:12:12 UTC |
3.5.0 | 2026-09-24 14:38:51 UTC |
3.4.4 | 2025-08-20 19:15:30 UTC |
3.4.3 | 2024-09-19 14:15:21 UTC |
3.4.2 | 2024-07-12 11:35:52 UTC |
3.4.1 | 2024-07-12 09:13:09 UTC |
3.4.0 | 2023-08-31 09:50:34 UTC |
3.3.2 | 2022-04-01 19:23:25 UTC |
3.3.1 | 2022-03-16 11:22:07 UTC |
3.3.0 | 2022-03-15 08:35:57 UTC |
3.2.9 | 2022-02-04 13:58:43 UTC |
3.2.8 | 2022-02-04 12:12:24 UTC |
3.2.7 | 2022-01-04 09:57:54 UTC |
3.2.6 | 2021-10-25 11:34:17 UTC |
3.2.5 | 2021-05-24 12:41:47 UTC |
1.7.2 | 2020-12-03 15:47:16 UTC |
3.2.4 | 2020-11-13 08:59:24 UTC |
3.2.3 | 2020-11-12 11:25:27 UTC |
3.2.2 | 2020-10-14 08:51:15 UTC |
3.2.1 | 2020-09-27 13:14:03 UTC |
Showing the 20 most recent of 39 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
php 7.4 | 3.5.1 |
php 8.0 | 3.5.1 |
php 8.1 | 3.5.1 |
php 8.2 | 3.5.1 |
php 8.3 | 3.5.1 |
php 8.4 | 3.5.1 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of composer/semver?
The latest stable version of composer/semver is 3.5.1, published on 2026-10-05. Verified by Vigia on 2026-10-08.
How do I install the latest version of composer/semver?
Run composer require composer/semver. The latest stable version is 3.5.1 (verified 2026-10-08).
Is composer/semver deprecated?
No. composer/semver is not marked as deprecated in the registry.
Which PHP version does composer/semver require?
composer/semver 3.5.1 declares this requirement: PHP ^5.3.2 || ^7.0 || ^8.0.
Does composer/semver 3.5.1 have known vulnerabilities?
No known advisories affect composer/semver 3.5.1 according to the data Vigia checks.
Is composer/semver still maintained?
composer/semver published 2 stable releases in the last 12 months; the most recent was 3 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- nunomaduro/termwind
- guzzlehttp/uri-template
- composer/pcre
- paragonie/constant_time_encoding
- fruitcake/php-cors
- phpstan/phpdoc-parser
- laravel/tinker
- league/config
- laravel/prompts
- firebase/php-jwt
- laravel/framework
- phpdocumentor/reflection-common
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/composer/semver) [](https://vigia.coredls.cloud/packagist/composer/semver) [](https://vigia.coredls.cloud/packagist/composer/semver)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/composer/semver
GET https://vigia.coredls.cloud/v1/packages/packagist/composer/semver/versions/{version}