nayjest/db-dump

Database Dump Tool for Laravel
732 1
Install
composer require nayjest/db-dump
Latest Version:v1.3.6
PHP:>=5.4.0
License:MIT
Last Updated:Nov 26, 2014
Links: GitHub  ·  Packagist
Maintainer: nayjest

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

Related Packages

danielme85/laravel-log-to-db

Custom Laravel Log channel handler that can store log events to SQL or MongoDB...

1,044,210 134
nayjest/db-diff

Database diff tool for Laravel & MySQL

3,358 8
illuminated/db-profiler

Database Profiler for Laravel Web and Console Applications.

244,080 169
rolice/laravel-db-switch

Simple and light DB switcher for Laravel.

1,863 3
spatie/laravel-translation-loader

Store your language lines in the database, yaml or other sources

3,519,797 855