spatie/db-dumper
Dump the contents of a database observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 89
- Release rhythm 70
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 41
- age_days: 3881
- days_rel: 121
- days_push: 68
- n_releases_24m: 10
Adoption not part of the score
1176 stars · 158 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PHP library providing a fluent API to dump database contents to files using native tools like mysqldump, pg_dump, sqlite3, and mongodump. It supports MySQL, MariaDB, PostgreSQL, SQLite, and MongoDB and is used by spatie's laravel-backup package.
Use cases
- dump a mysql database to a sql file from php
- create postgresql backups programmatically
- back up sqlite and mongodb databases in php
- generate database dumps for a laravel backup system
- compress database dumps with gzip or bzip2
When to choose
- you need to create database dumps from PHP code with a simple fluent API
- you want a lightweight wrapper around native dump binaries rather than reimplementing dump logic
- you are building a backup system, especially with spatie/laravel-backup
When to avoid
- you need pure-PHP dumping without native binaries like mysqldump installed
- you need a full backup solution with scheduling and notifications rather than just dumping
- you use databases outside MySQL, MariaDB, PostgreSQL, SQLite, or MongoDB
Facets
library · maturity stable
database backup developer-tools databases developer-tools backend php cli cross-platform database-dump mysqldump pg_dump mongodb sqlite mariadb spatie
3 sources
- readme: https://github.com/spatie/db-dumper · fetched 2026-08-28 · 650ee6eeee77
- homepage: https://freek.dev/389-a-package-to-dump-your-database · fetched 2026-08-29 · cb93934cd333
- site_page: https://freek.dev/about · fetched 2026-08-29 · e0ef9dccbb05
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| spatie/db-dumper | main | 85 |
For agents
markdown · JSON · MCP: product_card(name="spatie/db-dumper")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem