PHPackages                             kherge/version - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. kherge/version

AbandonedArchivedLibrary[Parsing &amp; Serialization](/categories/parsing)

kherge/version
==============

A parsing and comparison library for semantic versioning.

1.0.1(13y ago)253.1M↑48.7%2MITPHPPHP &gt;=5.3.3

Since Jul 25Pushed 13y agoCompare

[ Source](https://github.com/kherge-archive/Version)[ Packagist](https://packagist.org/packages/kherge/version)[ Docs](http://github.com/kherge/Version)[ RSS](/packages/kherge-version/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (4)Used By (0)

Version
=======

[](#version)

> I am no longer maintaining this library. This project has been deprecated in favor of [Herrera.io php-version](https://github.com/herrera-io/php-version). If you would like to take over development of this project, please email me.

[![Build Status](https://camo.githubusercontent.com/de0da4a478fc394fc44ac1593e3c926a5fec0ad269507be2794cc8244157d678/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6b68657267652f56657273696f6e2e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/kherge/Version)

A parsing and comparison library for [semantic versioning](http://semver.org/).

Installing
----------

[](#installing)

To install Version, you must add it to the list of dependencies in your [`composer.json`](http://getcomposer.org/) file.

```
$ php composer.phar require kherge/version=1.*

```

If you are not using Composer to manage your dependencies, you may use any [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md) class loader to load it from the `src/lib` directory.

Usage
-----

[](#usage)

Please see [the wiki](https://github.com/kherge/Version/wiki/API) for detail usage information.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity49

Moderate usage in the ecosystem

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

3

Last Release

5045d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9122157?v=4)[Kevin Herrera](/maintainers/kherge)[@kherge](https://github.com/kherge)

---

Top Contributors

[![kherge](https://avatars.githubusercontent.com/u/9122157?v=4)](https://github.com/kherge "kherge (2 commits)")

### Embed Badge

![Health badge](/badges/kherge-version/health.svg)

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

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19037.7M41](/packages/mck89-peast)[karriere/json-decoder

JsonDecoder implementation that allows you to convert your JSON data into PHP class objects

141439.4k12](/packages/karriere-json-decoder)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9642.0k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

45143.1k6](/packages/jstewmc-rtf)[json-mapper/laravel-package

The JsonMapper package for Laravel

25188.9k3](/packages/json-mapper-laravel-package)[jamesmoss/toml

A parser for TOML implemented in PHP.

3231.7k15](/packages/jamesmoss-toml)

PHPackages © 2026

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