Nayjest / db-dump by nayjest

Database Dump Tool for Laravel
394
1
4
Package Data
Maintainer Username: nayjest
Maintainer Contact: mail@vitaliy.in (Vitalii [Nayjest] Stepanenko)
Package Create Date: 2014-09-22
Package Last Update: 2014-11-26
Language: PHP
License: MIT
Last Refreshed: 2024-04-23 03:02:19
Package Statistics
Total Downloads: 394
Monthly Downloads: 23
Daily Downloads: 1
Total Stars: 1
Total Watchers: 4
Total Forks: 0
Total Open Issues: 0

Database Dump Tool for Laravel

Installation

Installation with composer

  • Step 1: Add git url to composer.json file in your project:
"repositories": [
    {
        "url": "git@github.com:Nayjest/db-dump.git",
        "type": "git"
    }
],
  • Step 2: Add dependency to "require" section
"require": {
    "nayjest/db-dump": "~1"
},
  • Step 3: run "composer update" command

Usage

Create dump:

php artisan db:dump make

Create dump with specific tags:

php artisan db:dump make --tags my_dump,some_other_tag

Create dump using scenario:

php artisan db:dump make --scenario scenario_name

Apply dump (interactive)

php artisan db:dump apply