PHPackages                             cline/semver - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. cline/semver

ActiveLibrary

cline/semver
============

A full-featured Semantic Versioning 2.0.0 implementation for PHP with parsing, comparison, constraints, and version operations

2.0.3(2mo ago)0331MITPHPPHP ^8.5.0CI passing

Since Jan 31Pushed 2mo agoCompare

[ Source](https://github.com/faustbrian/semver)[ Packagist](https://packagist.org/packages/cline/semver)[ RSS](/packages/cline-semver/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (2)Dependencies (13)Versions (9)Used By (1)

[![GitHub Workflow Status](https://github.com/faustbrian/semver/actions/workflows/quality-assurance.yaml/badge.svg)](https://github.com/faustbrian/semver/actions)[![Latest Version on Packagist](https://camo.githubusercontent.com/7494e00a3e36d65cde2ddb3e07d6907f3ac41f5236855a965e5a47fdfb3a3895/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c696e652f73656d7665722e737667)](https://packagist.org/packages/cline/semver)[![Software License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/27839bf3a9324e082da57c18ce46819a07829aa4ac06d1889eb7ea5f8f61e05b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c696e652f73656d7665722e737667)](https://packagist.org/packages/cline/semver)

---

SemVer
======

[](#semver)

A full-featured Semantic Versioning 2.0.0 implementation for PHP with parsing, comparison, constraints, and version operations.

Requirements
------------

[](#requirements)

> **Requires [PHP 8.4+](https://php.net/releases/)**

Installation
------------

[](#installation)

```
composer require cline/semver
```

Documentation
-------------

[](#documentation)

- **[Getting Started](https://docs.cline.sh/semver/getting-started/)** - Installation and quick examples
- **[Version Operations](https://docs.cline.sh/semver/versions/)** - Parsing, comparison, and manipulation
- **[Constraints](https://docs.cline.sh/semver/constraints/)** - Tilde, caret, ranges, and wildcards
- **[Collections](https://docs.cline.sh/semver/collections/)** - Filtering and sorting version lists
- **[Laravel Integration](https://docs.cline.sh/semver/laravel/)** - Facade, casting, and dependency injection

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please use the [GitHub security reporting form](https://github.com/faustbrian/semver/security) rather than the issue queue.

Credits
-------

[](#credits)

- [Brian Faust](https://github.com/faustbrian)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License. Please see [License File](LICENSE.md) for more information.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance88

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~12 days

Recently: every ~3 days

Total

8

Last Release

61d ago

Major Versions

1.x-dev → 2.0.02026-03-04

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22145591?v=4)[Brian Faust](/maintainers/faustbrian)[@faustbrian](https://github.com/faustbrian)

---

Top Contributors

[![faustbrian](https://avatars.githubusercontent.com/u/22145591?v=4)](https://github.com/faustbrian "faustbrian (11 commits)")

---

Tags

phpsemverversioningversionsemantic versioning

### Embed Badge

![Health badge](/badges/cline-semver/health.svg)

```
[![Health](https://phpackages.com/badges/cline-semver/health.svg)](https://phpackages.com/packages/cline-semver)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[nikolaposa/version

Value Object that represents a SemVer-compliant version number.

1406.4M16](/packages/nikolaposa-version)[z4kn4fein/php-semver

Semantic Versioning library for PHP. It implements the full semantic version 2.0.0 specification and provides ability to parse, compare, and increment semantic versions along with validation against constraints.

251.5M17](/packages/z4kn4fein-php-semver)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
