Download the PHP package swatty007/laravel-versioning-helper without Composer
On this page you can find all versions of the php package swatty007/laravel-versioning-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download swatty007/laravel-versioning-helper
More information about swatty007/laravel-versioning-helper
Files in swatty007/laravel-versioning-helper
Package laravel-versioning-helper
Short Description Versioning Helper to handle Versioning within Laravel applications.
License MIT
Homepage https://github.com/swatty007/laravel-versioning-helper
Informations about the package laravel-versioning-helper
Laravel Versioning Helper
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.
Installation
You can install the package via composer:
Configuration
After installing the package you can publish the configuration file via:
It contains some optional configuration parameters and is fully documented.
Usage
Simply add the following component to the desired location of your view:
to display the full versioning information of your application, containing:
- Application Name
- Copyright Information
-
Version Number
Alternatively you can also the following components separately, to display only a part of those information:
- x-versioning-helper-application-name
- x-versioning-helper-copyright
- x-versioning-helper-version
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.
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!
Testing
Always appreciated 😎
Changelog
Please see CHANGELOG for more information what has changed recently.
TODO
- Currently None
Pull Requests are welcome :monocle_face:
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Martin Niehoff
- All Contributors
License
The MIT License (MIT). Please see License File for more information.