Download the PHP package muhammadhuzaifa/laravel-safe-migration without Composer
On this page you can find all versions of the php package muhammadhuzaifa/laravel-safe-migration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download muhammadhuzaifa/laravel-safe-migration
More information about muhammadhuzaifa/laravel-safe-migration
Files in muhammadhuzaifa/laravel-safe-migration
Package laravel-safe-migration
Short Description The package provide a safest way to run migration commands by generating backup of the database before running the actual migration command.
License MIT
Homepage https://github.com/huzaifaarain/laravel-safe-migration
Informations about the package laravel-safe-migration
Laravel Safe Migrations
- Laravel Safe Migrations
- Installation
- Usage
- Changelog
- Credits
- License
The package provides safest way to run migration by generating backup of the database each time before the monitorable command probably the migrate*
command is executed.
The laravel-safe-migration
package feature for generating backup is build on top of spatie/laravel-backup package.
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
Once the package is installed and monitorable commands are configured under the config/safe-migration.php
file. Each time you execute the monitorable command, the package will generate a backup file on the local
disk by default. The backups can be found at storage/app/Laravel
. You can customize the disks and other options using spatie config/backup.php
file.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Muhammad Huzaifa
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-safe-migration with dependencies
illuminate/contracts Version ^10.0|^9.0
spatie/laravel-backup Version ^8.0
spatie/laravel-package-tools Version ^1.14.0