Skip to content
This repository was archived by the owner on Feb 1, 2020. It is now read-only.

kherge-archive/php-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version

Build Status

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

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages