Download the PHP package ngmy/laravel-mysql-dumper without Composer
On this page you can find all versions of the php package ngmy/laravel-mysql-dumper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ngmy/laravel-mysql-dumper
More information about ngmy/laravel-mysql-dumper
Files in ngmy/laravel-mysql-dumper
Package laravel-mysql-dumper
Short Description The Laravel package that provides the Artisan command to execute mysqldump.
License MIT
Informations about the package laravel-mysql-dumper
Laravel MySQL Dumper
The Laravel package that provides the Artisan command to execute mysqldump
.
Features
Laravel MySQL Dumper has the following features:
- Dump all the database from the MySQL database
- Dump only the data from the MySQL database
- Dump only the schema from the MySQL database
- Dump from the MySQL database with your dump setting, such as
mysqldump
options
Requirements
Laravel MySQL Dumper has the following requirements:
- PHP >= 7.3
- Laravel >= 6.0
Installation
Execute the Composer require
command:
This will update your composer.json
file and install this package into the vendor
directory.
If you don't use package discovery, add the service provider to the providers
array in the config/app.php
file:
Publishing Configuration
Execute the Artisan vendor:publish
command:
This will publish the configuration file to the config/ngmy-mysql-dumper.php
file.
You can also use the tag to execute the command:
You can also use the service provider to execute the command:
Usage
Dump All the Database
Dump Only the Schema
Dump Only the Data
Dump with Your Dump Setting
Add the dump setting to the settings
array in the config/ngmy-mysql-dumper.php
file.
Then, use the dump setting to execute the command:
Dump to Import with Laravel
Use the dump setting with the importalbe_with_laravel
option true
to execute the command:
Then, use the unprepared
method to import the dump file, such as in your migration.
All versions of laravel-mysql-dumper with dependencies
ifsnop/mysqldump-php Version ^2.9
illuminate/support Version ^6.0|^7.0|^8.0