Download the PHP package alexlen/laravel-dump without Composer
On this page you can find all versions of the php package alexlen/laravel-dump. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-dump
Импорт/экспорт БД с помощью artisan-команд
Пакет позволяет выполнять экспорт/импорт содержимого базы данных и экспорт отдельных таблиц посредством artisan-команд
Установка
Использование
Каталог расположения дампа: storage/app/dump
Перед импортом автоматически создается бекап в каталоге storage/app/dump/backup
Чтобы при ипортировании избежать создания бекапа, нужно указать ключ --no-backup
Примеры
Команда | Описание |
---|---|
php artisan alexlen:dump-help | Отобразить описание пакета |
php artisan alexlen:dump-export | Создать дамп БД с дефолтным именем файла |
php artisan alexlen:dump-export my_dump.sql | Создать дамп БД с именем my_dump.sql |
php artisan alexlen:dump-export --table=users | Создать дамп таблицы users |
php artisan alexlen:dump-import my_dump.sql | Импортировать дамп в БД |
php artisan alexlen:dump-backup | Создать бекап с дефолтным именем файла |
php artisan alexlen:dump-backup my_backup | Создать бекап с именем файла my_backup |
php artisan alexlen:dump-backup --list | Список файлов бекапа |
php artisan alexlen:dump-backup-clear | Выбор файла бекапа для удаления |
php artisan alexlen:dump-backup-clear --last | Удалить последний файл бекапа |
php artisan alexlen:dump-backup-clear --all | Очистить папку с файлами бекапа |
php artisan alexlen:dump-restore | Выбор файла бекапа и его импорт |
php artisan alexlen:dump-restore --last | Импорт последнего файла бекапа |
All versions of laravel-dump with dependencies
PHP Build Version
Package Version
The package alexlen/laravel-dump contains the following files
Loading the files please wait ....