Download the PHP package tendersrl/version without Composer
On this page you can find all versions of the php package tendersrl/version. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tendersrl/version
More information about tendersrl/version
Files in tendersrl/version
Package version
Short Description Automatically create git tag about your Laravel app version
License MIT
Homepage https://github.com/tendersrl/version
Informations about the package version
Version
Automatically create git tag about your Laravel app version
Description
This package is a Laravel (5.5+) utility which helps you keep and manage your application version, increment version numbers (major, minor, patch, commit), and can also use your last commit hash.
This package is an extension of https://github.com/antonioribeiro/version, that let you to create automatically a git tag every time you update your app version.
Please refer to parent package to extensive documentation.
Easily increment your version numbers, using Artisan commands
Which should ask you your commit message
Then should create a new git tag and should print the new version number
Available for all of them:
Then you only need to push your commit and your tag:
Formating tag
After publishing configuration, entry as the format you prefer to tag your commit.
You can also specify the tag format via the option:
Other available options
If you want to increment your app version without creating a commit or tag, you can use the and options
Install
Via Composer
Then publish the configuration file you'll have to:
And you should be good to use it in your views:
Minimum requirements
- Laravel 5.5
- PHP 7.0
License
This package is licensed under the MIT License