PHPackages                             ganbarodigital/php-versions - 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. ganbarodigital/php-versions

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

ganbarodigital/php-versions
===========================

Semantic versioning library for PHP

1.1.0(10y ago)321BSD-3-ClausePHP

Since Jun 28Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ganbarodigital/php-versions)[ Packagist](https://packagist.org/packages/ganbarodigital/php-versions)[ RSS](/packages/ganbarodigital-php-versions/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (8)Versions (5)Used By (0)

PHP Versions
============

[](#php-versions)

[![GitHub license](https://camo.githubusercontent.com/fa7d5fcf2c84b580327af52da95dd751703af65f079dc3c5a0081beac0789718/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4e65772532304253442d626c75652e737667)](https://raw.githubusercontent.com/ganbarodigital/php-versions/develop/LICENSE.md)[![@ganbarodigital on Twitter](https://camo.githubusercontent.com/cfe3f6e7ae9c18f66fa57bed843790e668bd3ac88417017dfe9f45d8f0296cb9/687474703a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d25343067616e6261726f6469676974616c2d626c75652e7376673f7374796c653d666c6174)](https://twitter.com/ganbarodigital)[![Total Downloads](https://camo.githubusercontent.com/f5ae6b73d116eb959fde01f4342adc750f17b2f849c534a45e5e092c90a09f04/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67616e6261726f6469676974616c2f7068702d76657273696f6e732e7376673f7374796c653d666c6174)](https://packagist.org/packages/ganbarodigital/php-versions)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e331d8374d8884e16a86c37ba8abedbadd448533785f114690dbefeee4fcdbe1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f67616e6261726f6469676974616c2f7068702d76657273696f6e732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ganbarodigital/php-versions/?branch=master)[![Build Status](https://camo.githubusercontent.com/24c06f90d8ffd3bf50eef5ee47fd50dcd89a709d696b24d4ce424404c83c4ecf/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f67616e6261726f6469676974616c2f7068702d76657273696f6e732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ganbarodigital/php-versions/build-status/master)[![Coverage Status](https://camo.githubusercontent.com/c2a47bc045c2d4d441c99cd09a976d53e7fd4409b7eed10583031e9ac41c2630/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f67616e6261726f6469676974616c2f7068702d76657273696f6e732f62616467652e737667)](https://coveralls.io/r/ganbarodigital/php-versions)[![Dependency Status](https://camo.githubusercontent.com/c0ebd6f51e11f44cb37c2537a66fd2d75f98ae628a3253934fb33b7dbe3719d4/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f67616e6261726f6469676974616c3a7068702d76657273696f6e732f6465762d6d61737465722f62616467652e737667)](https://www.versioneye.com/php/ganbarodigital:php-versions/dev-master)[![Reference Status](https://camo.githubusercontent.com/9be6c0930775b6a2962e15b071109e3c647575ddb2f8d1a85bba6fc3a134c326/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f67616e6261726f6469676974616c3a7068702d76657273696f6e732f7265666572656e63655f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/php/ganbarodigital:php-versions/references)

The PHP Versions library provides a set of useful tools for working with version numbers that you can quickly drop into your own project to save you time and effort.

Status
------

[](#status)

We're still working out what the library's API should look like. Once that's stable, we'll be able to move to a v1.0 release very quickly.

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

[](#installation)

Add this to your `composer.json` file:

```
{
	"require": {
		"ganbarodigital/php-versions": "dev-develop"
	}
}

```

and then run `composer update`.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

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

Total

3

Last Release

3858d ago

Major Versions

0.1.0 → 1.0.02015-10-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/2dc3934d5c3ce55e18dca95d52b564fb2a34986770af3c532dba6c248ef58f3a?d=identicon)[stuartherbert](/maintainers/stuartherbert)

---

Top Contributors

[![stuartherbert](https://avatars.githubusercontent.com/u/7926?v=4)](https://github.com/stuartherbert "stuartherbert (296 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ganbarodigital-php-versions/health.svg)

```
[![Health](https://phpackages.com/badges/ganbarodigital-php-versions/health.svg)](https://phpackages.com/packages/ganbarodigital-php-versions)
```

PHPackages © 2026

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