nayjest/db-dump

Database Dump Tool for Laravel
737 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,070,378 134
atlas/statement

Object-oriented statement builders for MySQL, Postgres, SQLite, and SQLServer.

16,211 3
illuminated/db-profiler

Database Profiler for Laravel Web and Console Applications.

244,934 169
nayjest/db-diff

Database diff tool for Laravel & MySQL

3,363 8
aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can b...

3,304,766 456