laravel-hotfix maintained by samirsabiee
Hotfix laravel package with DB Transaction control first publish config and migration file and start using
Installation
You can install the package via composer:
composer require samirsabiee/laravel-hotfix
Usage
- Commands
-
php artisan hotfix:make <<NAME>>Above command create stub hotfix file app/Hotfixes/config.path
-
php artisan hotfix <<NUMBER>>Above command execute NUMBER last not executed hotfixes created in path config under app/Hotfixes directory
-
php artisan hotfix allAbove command execute all not executed hotfixes created in path config under app/Hotfixes directory
-
php artisan hotfix:run <<NAME>>Above command run single hotfix By entering hotfix name (you can enter part of name and select one of founded hotfixes)
-
php artisan hotfix:lsAbove command list 10 last hotfixes with error and status column
-
php artisan hotfix:ls <<NUMBER>>Above command list NUMBER last hotfixes with error and status column
-
php artisan hotfix:ls <<NUMBER>> --errorAbove command list NUMBER last hotfixes executed with error
-
php artisan hotfix:logs <<ID>>Above command show long log of hotfix by id shown in ls command
-
php artisan hotfix:retry <<ID>>Above command retry hotfix that executed with error by ID shown in ls command
-
php artisan hotfix:retry allAbove command retry all hotfixes executed with error
-
php artisan hotfix:status <<NAME>>Above command show status single hotfix By entering hotfix name (you can enter part of name and select one of founded hotfixes)
-
Credits
License
The MIT License (MIT). Please see License File for more information.