Registry / database / spatie-db-dumper

spatie-db-dumper

JSON →
library4.1.1phppackagistunverified

Dump databases

composer require spatie/db-dumper
INSTALL
IMPORT
SIG · SPATIE-DB-DUMPER
S
spatie-db-dumper
databasephpv4.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MySql
use Spatie\DbDumper\Databases\MySql;

Dump a MySQL database to a file

use Spatie\DbDumper\Databases\MySql; MySql::create() ->setDbName('database_name') ->setUserName('username') ->setPassword('password') ->dumpToFile('dump.sql');
Debug
Known issues
gotchaRequires mysqldump binary installed on the system
fix
Install MySQL client tools or use a different dump method
affects: >=1.0.0
Upgrade
Version history
4.1.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Resources
spatie-db-dumper — pip install spatie-db-dumper · libregistry