Download the PHP package hydrat-agency/laravel-db-dumper without Composer
On this page you can find all versions of the php package hydrat-agency/laravel-db-dumper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hydrat-agency/laravel-db-dumper
More information about hydrat-agency/laravel-db-dumper
Files in hydrat-agency/laravel-db-dumper
Package laravel-db-dumper
Short Description Brings db:export/db:import command to laravel for easier environment propagation
License MIT
Homepage https://github.com/hydrat-agency/laravel-db-dumper
Informations about the package laravel-db-dumper
Laravel DB dumper
Brings db:export
and db:import
artisan commands to Laravel, to easily copy database to another environment.
Ever worked with Wordpress and used the WP-Cli ? How handful are wp db:export
and wp db:import
commands... 😻
This package brings the same functionality to Laravel. You can...
-
... export database to a SQL file :
- ... import database from an SQL file :
This package uses spatie/db-dumper in the background to generate db exports.
Installation
This package requires php >= 8.1
and laravel >= 8.0
.
You can install the package via composer:
Usage
Supported databases
Database | Export | Import |
---|---|---|
MySQL | ✅ | ✅ |
MariaDB | 🅾️ | ✅ |
PostgreSQL | 🅾️ | 🅾️ |
SQLite | 🅾️ | ✅ |
SQL Server | 🅾️ | 🅾️ |
Using Db Dumper from artisan CLI
- Exporting to a file :
ℹ If you don't provide a filename in your path, a name will be automatically generated :
- Importing from a file :
Using Db Dumper from your code
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Feel free to contribute !
Security Vulnerabilities
If you find any security vulnerabilities, please don't report it publicly.
Instead, contact me by private message or at [email protected].
Credits
- Hydrat Agency
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-db-dumper with dependencies
illuminate/contracts Version ^9.0|^10.0
spatie/db-dumper Version ^3.3
spatie/laravel-package-tools Version ^1.13.0