samirsabiee / laravel-hotfix
This is my package laravel-hotfix
                                    Fund package maintenance!
                                                                            
                                                                                                                                        samirsabiee
                                                                                    
                                                                
Installs: 44
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 3
pkg:composer/samirsabiee/laravel-hotfix
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: 2025-10-09 20:46:42 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>> --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 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.