This tool develop to make auto migrations your all tables in database included the data.
So you can easily make a collaboration wih your team in GIT, or you can publish your project easily without any sparate database file.
composer require crocodic-studio/laravel-db-packer
- Put this
Crocodic\LaravelDBPacker\LaravelDBPackerServiceProvider::class
to /config/app.php atProviders
section.
php artisan packer:pack
php artisan packer:pack --ignoreTable="table1,table2,table3"
php artisan packer:pack --ignoreTableData="table1,table2,table3"
And you may combine two options.
This command will restore tables and data
php artisan packer:unpack
Laravel Migrations Generator