bobinrinder / laravel-super-migrate
This is my package laravel-super-migrate
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 1
Open Issues: 1
pkg:composer/bobinrinder/laravel-super-migrate
Requires
- php: ^8.3
- illuminate/contracts: ^10.0||^11.0||^12.0
- spatie/laravel-package-tools: ^1.92.4
Requires (Dev)
- larastan/larastan: ^3.4.0||^2.11.0
- laravel/pint: ^1.22.0
- nunomaduro/collision: ^8.8.1||^7.10.0
- orchestra/testbench: ^10.3.0||^9.13.1||^8.22.0
- pestphp/pest: ^3.8.2||^2.36.0
- pestphp/pest-plugin-arch: ^3.1.1||^2.7.0
- pestphp/pest-plugin-laravel: ^3.2.0||^2.4.0
- phpstan/extension-installer: ^1.4.3
- phpstan/phpstan-deprecation-rules: ^2.0.3|^1.2.1
- phpstan/phpstan-phpunit: ^2.0.6||^1.4.2
- spatie/laravel-ray: ^1.40.2
This package is auto-updated.
Last update: 2026-01-05 18:48:18 UTC
README
This package extends Laravel's default migration functionality.
It hooks seamlessly into the existing migration process, but tracks more details than the built-in process.
| Feature | Super Migrate | Native Laravel |
|---|---|---|
| Logs migrations | ✅ | ✅ |
| Logs start, end and failure times | ✅ | ❌ |
| Logs rollbacks | ✅ | ❌ |
| Logs exceptions with stack trace | ✅ | ❌ |
| CLI to see history and failures | ✅ | ❌ |
| Optional parallel run prevention | ✅ | ❌ |
Installation
You can install the package via composer:
composer require bobinrinder/laravel-super-migrate
And then run the migration with:
php artisan migrate
Publish
Optionally you can publish the config file with and/or the migration with:
php artisan vendor:publish --tag="super-migrate-config" php artisan vendor:publish --tag="super-migrate-migrations"
Usage
Use Laravel's migration system like you usually do.
php artisan migrate
To show a history of migrations run:
php artisan super-migrate:list
To show details of the last failure:
php artisan super-migrate:failure
To show details of a specific failure add the ID seen in the list command:
php artisan super-migrate:failure 5
Testing
composer test
Roadmap
- Log events and errors to Slack etc via Monolog
- Web/Nova UI to look at history
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.