Versioning Helper to handle Versioning within Laravel applications.
swatty007/laravel-versioning-helper is a Laravel package for versioning helper to handle versioning within laravel applications..
It currently has 0 GitHub stars and 1.889 downloads on Packagist (latest version 3.0.0).
Install it with composer require swatty007/laravel-versioning-helper.
Discover more Laravel packages by swatty007
or browse all Laravel packages to compare alternatives.
Last updated

The versioning helper package bundles a small set of helper functions & blade components, to make updating & rendering your applications version & build number an ease.
Its aims at helping you to keep your applications version number up to date & showcasing it within your applications to improve client feedback on support tickets. The package supposes that you are using SemVer to version your application.
You can install the package via composer:
composer require swatty007/laravel-versioning-helper
After installing the package you can publish the configuration file via:
php artisan vendor:publish --provider="Swatty007\\LaravelVersioningHelper\\LaravelVersioningHelperServiceProvider"
It contains some optional configuration parameters and is fully documented.
Simply add the following component to the desired location of your view:
<x-versioning-helper-build-string></x-versioning-helper-build-string>
to display the full versioning information of your application, containing:
Alternatively you can also the following components separately, to display only a part of those information:
You can simply specify the current version of your application through our config file, or through a user definable Cache variable, which can be set/updated via our fully documented versioning artisan command.
php artisan versioning:helper --help
In addition to that the package will automatically try to look up the latest revision of our application from your repository system of choice & append it as build number to your version string. (Unless configured otherwise!)

This help to ensure the version numbers which is displayed for your users will always represent the state of its sourcecode, even if you forget to correctly increase your version number. Which helps debugging issues which some in via support tickets!
Always appreciated 😎
composer test
Please see CHANGELOG for more information what has changed recently.
Pull Requests are welcome :monocle_face:
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.