aaix / laravel-patches
A simple, command-based patching system for Laravel where patches are trackable.
Package info
github.com/jonaaix/laravel-patches
Type:laravel-package
pkg:composer/aaix/laravel-patches
1.0.8
2026-05-01 22:13 UTC
Requires
- php: ^8.1
- illuminate/console: >=10.0.0
- illuminate/database: >=10.0.0
- illuminate/filesystem: >=10.0.0
- illuminate/support: >=10.0.0
Requires (Dev)
- orchestra/testbench: >=8.0.0
- phpunit/phpunit: >=10.0.0
- roave/security-advisories: dev-latest
README
Laravel Patches
A simple, command-based patching system for Laravel — hidden, trackable, and disposable one-off commands for data migrations, one-time fixes, and complex deployments.
Features
- Command-Based — every patch is a full-fledged Artisan command.
- Trackable — executed patches are logged in a database table to prevent re-execution.
- Disposable — delete the patch file when it's no longer needed.
- User-Controlled — unlike migrations, patches never run automatically. You decide which patch runs and when.
Quickstart
composer require aaix/laravel-patches php artisan migrate php artisan make:patch FixUserEmails php artisan patch
Documentation
Full guide, configuration reference and usage examples: laravel-patches docs.
License
Released under the MIT License.