ifsnop/mysqldump-php
PHP version of mysqldump cli that comes with MySQL observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 95
- Release rhythm 67
- 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: n/a
- age_days: 4988
- days_rel: 8
- days_push: 31
- n_releases_24m: 1
Adoption not part of the score
1286 stars · 291 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A pure PHP reimplementation of the mysqldump command-line tool for backing up MySQL and MariaDB databases via PDO, with no external dependencies. It dumps table structures, data, views, triggers, stored routines, and events with output compression, and can also restore dumps when no mysql executable is available.
Use cases
- backup a mysql database from php without shell access
- dump mysql or mariadb schema and data to a sql file in php
- mysqldump alternative when the mysql cli is not installed
- restore a sql dump file from php code
- create scheduled database backups in a php application
- export database dumps compressed as gzip or upload to cloud storage
When to choose
- You need to back up or restore MySQL/MariaDB entirely from PHP, e.g. on shared hosting without shell access or the mysql binary
- You want mysqldump-compatible output with extras like hex-encoded blobs, resolved view dependencies, stored routines, events, and on-the-fly data hooks
- You want a zero-dependency Composer package with gzip compression and sane defaults
When to avoid
- You have shell access and can use the native mysqldump binary, which is faster and more feature-complete
- You need to back up non-MySQL databases such as PostgreSQL or SQLite
- You need to dump extremely large databases where native tooling performance matters
Facets
library · maturity stable
backup database compression databases developer-tools php windows cross-platform mysql mysqldump mariadb pdo sql database-backup dump-restore php-library no-dependencies linux macos
2 sources
- readme: https://github.com/ifsnop/mysqldump-php · fetched 2026-08-28 · 31cdb96ab777
- homepage: https://github.com/ifsnop/mysqldump-php · fetched 2026-08-29 · c7d3316ed854
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ifsnop/mysqldump-php | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="ifsnop/mysqldump-php")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem