kcpt/mysqltools

KCPT's easy database dump/import commands for MySQL.
29 2
Install
composer require kcpt/mysqltools
Latest Version:0.6
PHP:>=5.6.4
License:MIT
Last Updated:Jul 12, 2017
Links: GitHub  ·  Packagist
Maintainer: kcpt

KCPT Laravel MySQL Tools

This is a module for Laravel 5. This adds 3 commands to artisan:

  • db:clear
  • db:dump
  • db:import

Installation

  • composer require kcpt/mysqltools
  • Edit config/app.php and add KCPT\MySQLToolsServiceProvider::class to the 'providers' array.
  • run artisan commands

Usage

db:clear

Clear Database

This command deletes all tables in the current database.

db:dump

Dump the Database

This command will create a .sql dump file in the current project's folder named: db-[environment]-[date].sql

db:import

Database Import Autocomplete

This command imports the database from a .sql file. This command has autocomplete.

Database Imported

Related Packages

illuminated/db-profiler

Database Profiler for Laravel Web and Console Applications.

242,865 169
phoenixgao/laravel-postgres-extended-schema

Laravel database schema extended, added some PostgreSql features

2,249 6
marktopper/doctrine-dbal-timestamp-type

Add the timestamp type for Doctrine/DBAL

837,686 49
mahimahi/auth-command

Command cli to create/manage users

159 0