A SemVer compatible version management package for softwares built on Laravel.
Run the following command:
composer require spinzar/version
Register the service provider in config/app.php
Spinzar\Version\Provider::class,
Add alias if you want to use the facade.
'Version' => Spinzar\Version\Facade::class,
Publish config file.
php artisan vendor:publish --tag=version
You can change the version information of your app from config/version.php
file
You can either enter the method like version('short')
or leave it empty so you could firstly get the instance then call the methods like version()->short()
Please see Releases for more information what has changed recently.
Pull requests are more than welcome. You must follow the PSR coding standards.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see LICENSE for more information.