A package to backup your Laravel app
PHP

README.md

A modern backup solution for Laravel apps

Latest Version Software License Build Status SensioLabsInsight Quality Score StyleCI Total Downloads

This Laravel package creates a backup of your application. The backup is a zipfile 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 5.

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.

Spatie is a webdesign agency in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

Postcardware

You're free to use this package (it's MIT-licensed), but if it makes it to your production environment you are required to send us a postcard from your hometown, mentioning which of our package(s) you are using.

Our address is: Spatie, Samberstraat 69D, 2060 Antwerp, Belgium.

The best postcards will get published on the open source page on our website.

Installation and usage

You'll find installation instructions and full documentation on https://docs.spatie.be/laravel-backup/v4.

Using an older version of PHP / Laravel ?

If you're not on PHP 7 or Laravel 5.3 just use version 3 of this package.

Just issue this command:

composer require "spatie/laravel-backup:^3.0.0"

Read the extensive documentation on version 3 to learn how to set up and use the package.

We won't introduce new features to v3 anymore but we will still fix bugs.

Testing

Run the tests with:

vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email freek@spatie.be instead of using the issue tracker.

Credits

About Spatie

Spatie is a webdesign agency in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

License

The MIT License (MIT). Please see License File for more information.