PHPackages                             package-hub/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. package-hub/semver

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

package-hub/semver
==================

Package to check version according to Semantic Versioning 2.0.0 (http://semver.org).

0.3.0(12y ago)2171MITPHPPHP &gt;=5.3.3

Since Dec 13Pushed 12y ago1 watchersCompare

[ Source](https://github.com/PackageHub/SemVer)[ Packagist](https://packagist.org/packages/package-hub/semver)[ Docs](https://github.com/PackageHub/SemVer)[ RSS](/packages/package-hub-semver/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

SemVer - version checking with php
==================================

[](#semver---version-checking-with-php)

SemVer is a php library to check versions according to Semantic Versioning 2.0.0 ().

[![Build Status](https://camo.githubusercontent.com/0be167db34fe4599c6d9b84331eb19f996aac8c2dca8a3c52d844113df35d0bd/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f5061636b6167654875622f53656d5665722e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/PackageHub/SemVer)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/55422ee97e8fdc57881f840cc4365434f58aab0d7f872a31a3869599ccad514d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5061636b6167654875622f53656d5665722f6261646765732f7175616c6974792d73636f72652e706e673f733d33386534633564643863346562366663313839666332653933396165623337356566666230646238)](https://scrutinizer-ci.com/g/PackageHub/SemVer/)[![Code Coverage](https://camo.githubusercontent.com/c99a40c8f2653bd12d28967d82395b27f35c5d4a952da26813632cdc6d3ed878/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5061636b6167654875622f53656d5665722f6261646765732f636f7665726167652e706e673f733d37613866663931666333376136303633313635666334393464366535623832356164393638333663)](https://scrutinizer-ci.com/g/PackageHub/SemVer/)[![Latest Stable Version](https://camo.githubusercontent.com/eb07832521e869f39eb6ee3cbce8182968310a45309e4afac114dd2ca6b7b99a/68747470733a2f2f706f7365722e707567782e6f72672f7061636b6167652d6875622f73656d7665722f762f737461626c652e706e67)](https://packagist.org/packages/package-hub/semver)[![Total Downloads](https://camo.githubusercontent.com/2f2cfe3a3e7c6f2f7a2af163399314d2f69d8bb34a5681cdf8ee211397cb5ac5/68747470733a2f2f706f7365722e707567782e6f72672f7061636b6167652d6875622f73656d7665722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/package-hub/semver)

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

[](#requirements)

PHP 5.3.3 or above

Authors
-------

[](#authors)

Gordon Schmidt -

See also the list of [contributors](https://github.com/PackageHub/SemVer/contributors) who participated in this project.

License
-------

[](#license)

The files in this package are releases under the MIT license. You can find a copy of this license in [LICENSE](https://github.com/PackageHub/SemVer/blob/master/LICENSE).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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 ~16 days

Total

3

Last Release

4504d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/571ee10ad192d0255e2c2a67d7f33ee5cf72168f87f8df8b2492556e880fc82a?d=identicon)[PackageHub](/maintainers/PackageHub)

---

Top Contributors

[![GordonSchmidt](https://avatars.githubusercontent.com/u/1773347?v=4)](https://github.com/GordonSchmidt "GordonSchmidt (17 commits)")

---

Tags

php-libraryphpsemver

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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