spatie / laravel-backup
A Laravel package to backup your application
Installs: 15 186 254
Dependents: 183
Suggesters: 2
Security: 0
Stars: 5 671
Watchers: 89
Forks: 763
Open Issues: 10
Requires
- php: ^8.2
- ext-zip: ^1.14.0
- illuminate/console: ^10.10.0|^11.0
- illuminate/contracts: ^10.10.0|^11.0
- illuminate/events: ^10.10.0|^11.0
- illuminate/filesystem: ^10.10.0|^11.0
- illuminate/notifications: ^10.10.0|^11.0
- illuminate/support: ^10.10.0|^11.0
- league/flysystem: ^3.0
- spatie/db-dumper: ^3.7
- spatie/laravel-package-tools: ^1.6.2
- spatie/laravel-signal-aware-command: ^1.2|^2.0
- spatie/temporary-directory: ^2.0
- symfony/console: ^6.0|^7.0
- symfony/finder: ^6.0|^7.0
Requires (Dev)
- composer-runtime-api: ^2.0
- ext-pcntl: *
- larastan/larastan: ^2.7.0
- laravel/slack-notification-channel: ^2.5|^3.0
- league/flysystem-aws-s3-v3: ^2.0|^3.0
- mockery/mockery: ^1.4
- orchestra/testbench: ^8.0|^9.0
- pestphp/pest: ^1.20|^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.1
- rector/rector: ^1.1
Suggests
- laravel/slack-notification-channel: Required for sending notifications via Slack
- dev-main
- 9.1.3
- 9.1.2
- 9.1.1
- 9.1.0
- 9.0.4
- 9.0.3
- 9.0.2
- 9.0.1
- 9.0.0
- v8.x-dev
- 8.8.2
- 8.8.1
- 8.8.0
- 8.7.0
- 8.6.0
- 8.5.1
- 8.5.0
- 8.4.1
- 8.4.0
- 8.3.4
- 8.3.3
- 8.3.2
- 8.3.1
- 8.3.0
- 8.2.0
- 8.1.11
- 8.1.10
- 8.1.9
- 8.1.8
- 8.1.7
- 8.1.6
- 8.1.5
- 8.1.4
- 8.1.3
- 8.1.2
- 8.1.1
- 8.1.0
- 8.0.10
- 8.0.9
- 8.0.8
- 8.0.7
- 8.0.6
- 8.0.5
- 8.0.4
- 8.0.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 2.0.1
- 2.0.0
- 1.2.0
- 1.1.0
- 1.0.0
- 0.0.1
- dev-bug/slack-message-import
- dev-bug/1528-year-week-combo
This package is auto-updated.
Last update: 2024-12-06 22:30:15 UTC
README
A modern backup solution for Laravel apps
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.2 and Laravel 10.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.0 or a Laravel version below 8.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
And a special thanks to Caneco for the logo ✨
License
The MIT License (MIT). Please see License File for more information.