https://github.com/crocodic-studio/laravel-db-packer
Tool to pack the existing laravel database
https://github.com/crocodic-studio/laravel-db-packer
artisan database laravel migrations
Last synced: 6 months ago
JSON representation
Tool to pack the existing laravel database
- Host: GitHub
- URL: https://github.com/crocodic-studio/laravel-db-packer
- Owner: crocodic-studio
- Created: 2018-11-02T07:30:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-07T06:16:30.000Z (over 7 years ago)
- Last Synced: 2025-10-07T23:33:53.360Z (9 months ago)
- Topics: artisan, database, laravel, migrations
- Language: PHP
- Size: 21.5 KB
- Stars: 2
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.MD
Awesome Lists containing this project
README
# Laravel DB Packer Tool
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.
## How To Install
1. ``composer require crocodic-studio/laravel-db-packer``
1. Put this ``Crocodic\LaravelDBPacker\LaravelDBPackerServiceProvider::class`` to /config/app.php at ``Providers`` section.
## How To Pack
``php artisan packer:pack``
## Pack with table exception
``php artisan packer:pack --ignoreTable="table1,table2,table3"``
## Pack with table data exception
``php artisan packer:pack --ignoreTableData="table1,table2,table3"``
And you may combine two options.
## How To Unpack
This command will restore tables and data
``php artisan packer:unpack``
### Credits
Laravel Migrations Generator
https://github.com/Xethron/migrations-generator