2017 © Pedro Peláez
 

library version

A library for creating, editing, and comparing semantic versioning numbers.

image

herrera-io/version

A library for creating, editing, and comparing semantic versioning numbers.

  • Sunday, August 10, 2014
  • by kherge
  • Repository
  • 9 Watchers
  • 100 Stars
  • 1,092,960 Installations
  • PHP
  • 10 Dependents
  • 0 Suggesters
  • 16 Forks
  • 3 Open issues
  • 5 Versions
  • 5 % Grown

The README.md

Version

![Build Status], (*1)

Version is a library for creating, editing, and comparing semantic version numbers. Currently, v2.0.0 of the Semantic Versioning specification is supported., (*2)

use Herrera\Version\Dumper;
use Herrera\Version\Parser;

$builder = Parser::toBuilder('1.2.3-alpha+2');
$builder->incrementMajor();
$builder->clearBuild();
$builder->clearPreRelease();

echo Dumper::toString($builder); // echoes "2.0.0"

$finalVersion = $builder->getVersion();

Documentation

The Versions

10/08 2014

dev-master

9999999-dev http://github.com/herrera-io/php-version

A library for creating, editing, and comparing semantic versioning numbers.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

version semantic

27/05 2014

1.1.1

1.1.1.0 http://github.com/herrera-io/php-version

A library for creating, editing, and comparing semantic versioning numbers.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

version semantic

22/01 2014

1.1.0

1.1.0.0 http://github.com/herrera-io/php-version

A library for creating, editing, and comparing semantic versioning numbers.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

version semantic

20/07 2013

1.0.0

1.0.0.0 http://github.com/herrera-io/php-version

A library for creating, editing, and comparing semantic versioning numbers.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

version semantic

13/05 2013

0.1.0

0.1.0.0 http://github.com/herrera-io/php-version

A library for creating, editing, and comparing semantic versioning numbers.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

version semantic