samirsabiee / laravel-hotfix
This is my package laravel-hotfix
Fund package maintenance!
samirsabiee
Requires
- php: ^8.0|^8.1|^8.2
- laravel/framework: ^7.0|^8.0|^9.0
Requires (Dev)
- pestphp/pest: ^1.20
- spatie/ray: ^1.28
This package is auto-updated.
Last update: 2024-05-09 17:28:06 UTC
README
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 all
Above 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:ls
Above 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>> --error
Above 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 all
Above 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.