dev-master
9999999-dev https://github.com/Eihen/LaravelDevlogA PHP Laravel library to keep a changelog in database using migrations
LGPL-3.0-or-later
The Requires
The Development Requires
laravel changelog eihen
A PHP Laravel library to keep a changelog in database using migrations
A Laravel library to generate migrations to keep a changelog in a database., (*1)
The original purpose of this is to keep a readable changelog to the showed to the end user inside a system., (*2)
composer require eihen/laravel-devlog
, (*3)
First publish the configuration file to your project using
php artisan vendor:publish --tag="devlog"
and change it to meet your needs., (*4)
The initial setup can be done with php artisan devlog:setup
.
This will create the migration for the tables and the model classes for version and change., (*5)
If you'd like to do things step-by-step (or skip a step) you can use:
php artisan devlog:migration
, php artisan devlog:version
and php artisn devlog:change
to generate the migration and models respectively., (*6)
The usage of the library is around using artisan commands to generate migrations that keep the changelog on the dabase up to date., (*7)
Create new future version (or update it's information):
php artisan devlog:new-version
, (*8)
Add new changes to the version changelog:
php artisan devlog:new-change
, (*9)
Release the version (create the migration):
php artisan devlog:release
, (*10)
All the commands will interactively ask for the information needed., (*11)
A PHP Laravel library to keep a changelog in database using migrations
LGPL-3.0-or-later
laravel changelog eihen