eom-plus/laravel-version
最新稳定版本:v1.0.5
Composer 安装命令:
composer require eom-plus/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 eom-plus/laravel-version
Usage
init
php artisan version:init
set new version
Set new version using semver format, eg 1.0.0
php artisan version <newversion>
increment version patch/min/major
Increment version number
php artisan version [ patch | minor | major ]
commit release to git
Create and commit git tag for the current release
php artisan version commit
Create github workflow to create release automatically.
- Create directory .github/workflows in your git repository
- Copy our file .github/workflows/release.yml to your .github/workflows
- On your the next commit, a release will be created automatically.
helpers
- version() , returns current version
- codename(), return current codename
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 send us an email to oss@operativeit.es instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see LICENSE for more information.
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-26