2017 © Pedro Peláez
 

library semver

A semantic version parser and comparison library.

image

icecave/semver

A semantic version parser and comparison library.

  • Monday, March 9, 2015
  • by jmalloc
  • Repository
  • 2 Watchers
  • 17 Stars
  • 19,946 Installations
  • PHP
  • 5 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 3 % Grown

The README.md

SemVer

This project has been deprecated by the authors. Use composer/semver instead., (*1)

SemVer is a PHP library for parsing and comparing version numbers according to the Semantic Versioning standard. The current version behaves according to version 2.0.0 of the specification., (*2)

Example

use Icecave\SemVer\Version;
use Icecave\SemVer\Comparator;

// Create versions from strings ...
$version1 = Version::parse('1.2.0-rc.1+build.meta.data');
$version2 = Version::parse('1.3.0');

// Compare the versions ...
$comparator = new Comparator;
assert($comparator->compare($version1, $version2) < 0);

The Versions

09/03 2015

dev-develop

dev-develop https://github.com/IcecaveStudios/semver

A semantic version parser and comparison library.

  Sources   Download

MIT

The Requires

 

The Development Requires

version semantic semver compare comparison

09/03 2015

dev-master

9999999-dev https://github.com/IcecaveStudios/semver

A semantic version parser and comparison library.

  Sources   Download

MIT

The Requires

 

The Development Requires

version semantic semver compare comparison

09/03 2015

3.0.3

3.0.3.0 https://github.com/IcecaveStudios/semver

A semantic version parser and comparison library.

  Sources   Download

MIT

The Requires

 

The Development Requires

version semantic semver compare comparison

30/10 2014

3.0.2

3.0.2.0 https://github.com/IcecaveStudios/semver

A semantic version parser and comparison library.

  Sources   Download

MIT

The Requires

 

The Development Requires

version semantic semver compare comparison

27/07 2013

3.0.1

3.0.1.0 https://github.com/IcecaveStudios/semver

A semantic version parser and comparison library.

  Sources   Download

MIT

The Requires

 

The Development Requires

version semantic semver compare comparison

07/06 2013

3.0.0

3.0.0.0 https://github.com/IcecaveStudios/semver

A semantic version parser and comparison library.

  Sources   Download

MIT

The Requires

 

The Development Requires

version semantic semver compare comparison

14/01 2013

2.0.0

2.0.0.0 https://github.com/IcecaveStudios/semver

Semantic version parser and comparators for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

version semantic semver

04/10 2012

1.0.0

1.0.0.0 https://github.com/IcecaveStudios/semver

Semantic version parser and comparitors for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

version semantic semver