PHPackages                             blumilksoftware/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. blumilksoftware/version

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

blumilksoftware/version
=======================

Blumilk versioning package

v2.0.0(6mo ago)0857[3 issues](https://github.com/blumilksoftware/version/issues)[2 PRs](https://github.com/blumilksoftware/version/pulls)MITPHPPHP ^8.3CI failing

Since May 6Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/blumilksoftware/version)[ Packagist](https://packagist.org/packages/blumilksoftware/version)[ RSS](/packages/blumilksoftware-version/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (8)Used By (0)

[![Packagist PHP Version Support](https://camo.githubusercontent.com/36b8f8b0d6697231441b34077ebdf16880970463e9ba14111ce20da01b5b89fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626c756d696c6b736f6674776172652f76657273696f6e3f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/blumilksoftware/version)[![Packagist Version](https://camo.githubusercontent.com/1d72fb3ba89219765c87f66074a0fee5d2c4d25925a1bf2bcc30389e70140d81/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626c756d696c6b736f6674776172652f76657273696f6e3f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/blumilksoftware/version)[![Packagist Downloads](https://camo.githubusercontent.com/b21cbbf38a346018406d526ff0c6cf349271d986f27ef05ef1770d098b738eba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626c756d696c6b736f6674776172652f76657273696f6e3f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/blumilksoftware/version/stats)

blumilksoftware/version
-----------------------

[](#blumilksoftwareversion)

A versioning based on git for all Blumilk projects. If Git is not available, it falls back to the timestamp.

### Usage

[](#usage)

Add package to the project:

```
composer require blumilksoftware/version
```

Then use the `Version` class to generate version strings based on Git or timestamp:

```
