Skip to content

operativeit/laravel-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version management package for Laravel

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 [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see LICENSE for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages