spatie/laravel-backup
Larablocks Analysis
Compatibility
Trusted maintainerspatie/laravel-backup works with Laravel 12 and 13 (latest release 10.5.0, Nov 18, 2026).
Laravel 5 to 11 in earlier releases.
- Trusted maintainer: spatie publishes 287 packages on Larablocks, with 204,136,623 downloads a month between them.
Recommendation checks
RecommendedRecommended by Larablocks: meets all 4 checks.
- Works with Laravel 13, the current version
- Released in the last 12 months (Nov 18, 2026)
- 2,294,102 downloads a month (at least 10,000)
- 6,030 GitHub stars (at least 100)
State
Actively maintained- Last stable release: Nov 18, 2026.
- 16 releases in the last 12 months.
- First released: Feb 18, 2015.
- Monthly downloads: 2,294,102, up 151% from six months ago.
- 2 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 25, 2026.
| Install | |
|---|---|
composer require spatie/laravel-backup |
|
| Latest Version: | 10.5.0 |
| PHP: | ^8.4 |
| Laravel: | 12 · 13 |
| Older releases: | 5 – 11 |
| License: | MIT |
| Last Updated: | Nov 18, 2026 |
| Links: | GitHub · Packagist |
This Laravel package creates a backup of your application. The backup is a zip file that contains all files in the directories you specify along with a dump of your database. The backup can be stored on any of the filesystems you have configured in Laravel.
Feeling paranoid about backups? No problem! You can backup your application to multiple filesystems at once.
Once installed taking a backup of your files and databases is very easy. Just issue this artisan command:
php artisan backup:run
But we didn't stop there. The package also provides a backup monitor to check the health of your backups. You can be notified via several channels when a problem with one of your backups is found. To avoid using excessive disk space, the package can also clean up old backups.
Support us
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Installation and usage
This package requires PHP 8.4 and Laravel 12.0 or higher. You'll find installation instructions and full documentation on https://spatie.be/docs/laravel-backup.
Using an older version of PHP / Laravel?
If you are on a PHP version below 8.4 or a Laravel version below 12.0 just use an older version of this package.
Read the extensive documentation on version 3, on version 4, on version 5 and on version 6. We will not be introducing any new features to v6 and below. We will however continue to update for bugs as neccesary.
Testing
Run the tests with:
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security-related issues, please email security@spatie.be instead of using the issue tracker.
Postcardware
You're free to use this package, but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.
Our address is: Spatie, Kruikstraat 22, 2018 Antwerp, Belgium.
We publish all received postcards on our company website.
Credits
Special thanks to Caneco for the original logo.
License
The MIT License (MIT). Please see License File for more information.
Related Packages
Tool for copying data from a production database to a dev database. Also useful...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 10.5.0 | ^8.4 | ^12.40| | MIT | |
| 10.4.0 | ^8.4 | ^12.40| | MIT | |
| 10.3.3 | ^8.3 | ^12.40| | MIT | |
| 10.3.2 | ^8.3 | ^12.40| | MIT | |
| 10.3.1 | ^8.3 | ^12.40| | MIT | |
| 10.3.0 | ^8.3 | ^12.40| | MIT | |
| 10.2.2 | ^8.3 | ^12.40| | MIT | |
| 10.2.1 | ^8.3 | ^12.40| | MIT | |
| 10.2.0 | ^8.3 | ^12.40| | MIT | |
| 10.1.1 | ^8.4 | ^12.40| | MIT | |
| 10.1.0 | ^8.4 | ^12.40| | MIT | |
| 10.0.2 | ^8.4 | ^12.40| | MIT | |
| 10.0.1 | ^8.4 | ^12.40| | MIT | |
| 10.0.0 | ^8.4 | ^12.40 | MIT | |
| 9.4.1 | ^8.3 | ^12.40 | MIT | |
| 9.4.0 | ^8.3 | ^12.40 | MIT | |
| 9.3.7 | ^8.3 | ^12.40 | MIT | |
| 9.3.6 | ^8.2 | ^10.10.0| | MIT | |
| 9.3.5 | ^8.2 | ^10.10.0| | MIT | |
| 9.3.4 | ^8.2 | ^10.10.0| | MIT | |
| 9.3.3 | ^8.2 | ^10.10.0| | MIT | |
| 9.3.2 | ^8.2 | ^10.10.0| | MIT | |
| 9.3.1 | ^8.2 | ^10.10.0| | MIT | |
| 9.3.0 | ^8.2 | ^10.10.0| | MIT | |
| 9.2.9 | ^8.2 | ^10.10.0| | MIT | |
| 9.2.8 | ^8.2 | ^10.10.0| | MIT | |
| 9.2.7 | ^8.2 | ^10.10.0| | MIT | |
| 9.2.6 | ^8.2 | ^10.10.0| | MIT | |
| 9.2.5 | ^8.2 | ^10.10.0| | MIT | |
| 9.2.4 | ^8.2 | ^10.10.0| | MIT |
Showing the latest 30 of 334. See every release on Packagist
