kcpt/mysqltools
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.phpand addKCPT\MySQLToolsServiceProvider::classto the 'providers' array. - run artisan commands
Usage
db:clear

This command deletes all tables in the current database.
db:dump

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

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

Related Packages
phattarachai/laravel-db-console
An in-app web DB client for Laravel — browse PostgreSQL, MySQL and MariaDB table...
1,304
2
vkovic/laravel-commando
Collection of handy Laravel artisan commands that most projects needs
48,909
61
esign/laravel-database-trigger
Easily create database triggers inside of your Laravel application
17,850
5
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.6 | >=5.6.4 | >=5.3.0 | MIT | |
| 0.5 | >=5.6.4 | >=5.3.0 | MIT | |
| 0.4 | >=5.6.4 | 5.4.* | MIT | |
| 0.3 | >=5.6.4 | 5.4.* | MIT | |
| 0.2 | >=5.6.4 | 5.4.* | MIT | |
| 0.1 | >=5.6.4 | 5.4.* | MIT |