Laravel Artisan Backup is Package for Backup The Database, Super Fast and Easy with Artisan Backup
composer require daycode/artisan-backupGo to config/app.php, then put these code on service providers
'providers' => [
/*
* Package Service Providers...
*/
\DayCod\ArtisanBackup\ArtisanBackupServiceProvider::class,
],Last, for make sure this package installed correctly.
composer dump-autoload && php artisan optimize:clear├── ...
├── database
| ├── ...
| ├── backup
| | ├── mysql
| | | ├── sql
| | | ├── json
| | └── ...
| └── ...
└── ...php artisan backup:mysql -t sqlOr
php artisan backup:mysql --type=sqlphp artisan backup:mysql -t jsonOr
php artisan backup:mysql --type=jsonThis project is released under the MIT license.