spatie/laravel-backup — explained in plain English
Analysis updated 2026-06-26
Automatically back up your Laravel app's database and files on a schedule to Amazon S3.
Set up health monitoring to receive a Slack alert if a backup fails or is too old.
Send each backup to multiple destinations at once so you have both local and cloud copies.
Configure automatic deletion of old backups to prevent disk space from filling up over time.
| spatie/laravel-backup | doctrine/collections | itsgoingd/clockwork | |
|---|---|---|---|
| Stars | 5,980 | 5,980 | 5,940 |
| Language | PHP | PHP | PHP |
| Setup difficulty | easy | easy | moderate |
| Complexity | 2/5 | 2/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires PHP 8.4 and Laravel 12 or higher, cloud storage destinations need configured Laravel filesystem drivers.
Laravel Backup is a PHP package for Laravel applications that automates the process of creating backup copies of your app's files and database. When you run the backup command, it collects the files from directories you specify, exports a dump of your database, and packages everything into a single zip file. You can store backups to any file storage destination that Laravel supports, which includes local disk, Amazon S3, and other cloud storage providers. The package also lets you send backups to multiple destinations at the same time, so a single backup run can land in more than one location. Beyond creating backups, the package includes a monitoring system that checks whether your backups are healthy: whether they exist, whether they are recent enough, and whether they are above a minimum file size. If a problem is detected, you can receive notifications through various channels such as email or Slack. To prevent disk space from filling up over time, the package can automatically delete old backups according to rules you configure, keeping recent backups more frequently and older ones less so. The package is developed by Spatie, a Belgian web agency known for maintaining a large catalog of open-source Laravel packages. It requires PHP 8.4 and Laravel 12 or higher. Documentation and installation instructions are hosted on the Spatie website. It is licensed under MIT.
A Laravel package that automates creating, storing, and monitoring backups of your app's files and database, with support for multiple storage destinations, health alerts, and automatic cleanup of old backups.
Mainly PHP. The stack also includes PHP, Laravel.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.