spatie/laravel-db-snapshots
Quickly dump and load databases observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 75
- Release rhythm 77
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 22.5
- age_days: 3456
- days_rel: 154
- days_push: 154
- n_releases_24m: 7
Adoption not part of the score
1217 stars · 100 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Laravel package providing Artisan commands to quickly dump and load database snapshots. It supports MySQL, PostgreSQL, and SQLite and stores snapshots on a configurable filesystem disk.
Use cases
- dump and restore a laravel database from the command line
- save database state before testing a feature and reload it after
- create named database snapshots in a laravel app
- restore the latest database snapshot with one artisan command
- clean up old database dumps keeping only recent ones
- quickly reset a development database to a known state
When to choose
- you use Laravel and want simple artisan-driven database dump/restore
- you develop against MySQL, PostgreSQL, or SQLite and need to snapshot and reload database state
- you want snapshot storage integrated with Laravel's filesystem disks
When to avoid
- you need full database backup tooling with scheduling, encryption, or cloud-native features
- you are not using Laravel, since the package depends on Artisan and Laravel filesystems
- you need continuous replication or point-in-time recovery rather than manual snapshots
Facets
library · maturity active
database backup cli developer-tools databases developer-tools backend web-development php cli self-hosted laravel artisan-commands database-snapshots mysql postgresql sqlite dump-and-restore spatie
3 sources
- readme: https://github.com/spatie/laravel-db-snapshots · fetched 2026-08-28 · 57a82b9b570d
- homepage: https://freek.dev/716-a-laravel-package-to-quickly-dump-and-load-the-database · fetched 2026-08-29 · 35ad797163ff
- site_page: https://freek.dev/about · fetched 2026-08-29 · e0ef9dccbb05
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| spatie/laravel-db-snapshots | main | 81 |
For agents
markdown · JSON · MCP: product_card(name="spatie/laravel-db-snapshots")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem