smart-core/db-dumper-bundle
A Symfony bundle that adds database dump and restore tooling to your application, with configurable connections and options for backing up, exporting, and restoring data from the console.
mysqldump / pg_dump using connection parameters already in your app config. That is roughly a 50-line service class. A 0-star, 0-dependent dependency should not own a code path you cannot replace in an afternoon — but the capability is real and worth scheduling.Adopt only when all of these hold:
spatie/laravel-backup (scheduling, retention, notifications) or spatie/db-dumper directly.Look elsewhere when:
pgBackRest, or Barman. A dumper library is a single-shot export, not a backup strategy.mysqldump against a hot primary is an availability incident waiting for a calendar entry.Decision rule: default to no for anything on a critical path; consider it as a spike, then replace with a vendored wrapper around the underlying dumper.
To executives: This is not a platform investment. It is a small convenience wrapper around database export tooling — days of saved effort at best, not weeks. Its public-health signals (no stars, no downstream users, no visible maintenance) mean we should not make it a dependency we cannot walk away from. Recommendation: approve a short engineering spike to build the same capability in-house, and treat the package as reference material rather than a dependency. Cost of building is low; cost of an unmaintained component on a data path is not.
To engineering: The useful part is the abstraction — a single, config-aware service for "dump this connection to a file" — plus wiring that reuses existing credentials. Copy that idea; own the code. Pin and vendor if you take the package, isolate it behind your own interface so swapping to spatie/db-dumper or pg_dump directly is a one-file change, and never call it inside a request cycle against a production primary. Keep it out of the backup and recovery story entirely — that is infrastructure's job, and conflating the two is how teams discover their "backups" were never verified.
How can I help you explore Laravel packages today?