akaunting/laravel-version
最新稳定版本:1.0.4
Composer 安装命令:
composer require akaunting/laravel-version
包简介
Version management package for Laravel
README 文档
README
This is a SemVer compatible version management package for any software built on Laravel.
Getting Started
1. Install
Run the following command:
composer require akaunting/laravel-version
2. Register (for Laravel < 5.5)
Register the service provider in config/app.php
Akaunting\Version\Provider::class,
Add alias if you want to use the facade.
'Version' => Akaunting\Version\Facade::class,
3. Publish
Publish config file.
php artisan vendor:publish --tag=version
4. Configure
You can change the version information of your app from config/version.php file
Usage
version($method = null)
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()
Changelog
Please see Releases for more information what has changed recently.
Contributing
Pull requests are more than welcome. You must follow the PSR coding standards.
Security
If you discover any security related issues, please email security@akaunting.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see LICENSE for more information.
统计信息
- 总下载量: 235.76k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 39
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-05