🎉 Enjoying this package? Consider sponsoring me on GitHub or buying me a beer.
Introduction
This package generates patch files in the same fashion Laravel generates migrations. Each file is timestamped with an up and a down method and is associated with a batch. You may run or rollback patches with the commands below.
Features
- Migration-style patches with
up()anddown()methods - Batch tracking for organized rollbacks
- Comprehensive metadata tracking (execution time, memory, user, environment)
- Event system for monitoring and custom workflows
- Transaction support for atomic operations
- Error handling with detailed logging and recovery options
- Multiple commands for managing patches (
status,list,dry-run) - Laravel 11 & 12 compatible
Requirements
- PHP 8.2+
- Laravel 11.x - 12.x