laravel-backup 0,5,0,2,3,0,5 editorconfig scrutinizer styleci travis-ci Packagist phpunit

A package to backup your Laravel app

A modern backup solution for Laravel apps

Latest Stable Version Software License Build Status 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.


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

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

All postcards are published on our website.

Installation and usage

This package requires PHP 7 and Laravel 5.4 or higher. You’ll find installation instructions and full documentation on

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.

Read the extensive documentation on version 3. We won’t introduce new features to v3 anymore but we will still fix bugs.


Run the tests with:



Please see CONTRIBUTING for details.


If you discover any security related issues, please email [email protected] instead of using the issue tracker.


About Spatie

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


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

Related Repositories



A package to backup your Laravel app ...



Driver to seamlessly integrate the Backup Manager into Laravel 4 and 5 applications. ...



Build an admin panel fast - Laravel 5.1, Bootstrap, interface for CRUD, Backup, Auth, Media Manager ...



A backup manager for Laravel ...



Command line database backup built for Laravel. Originally forked from schickling/laravel-backup ...

Top Contributors

freekmurze sebastiandedeyne juukie blueclock barryvdh tylercd100 tabacitu willemvb drbyte jpmurray jorenvanhee matriphe stevebauman kfirba stefro


package version
php ^7.0
illuminate/console ~5.3.28|~5.4.0
illuminate/contracts ~5.3.28|~5.4.0
illuminate/events ~5.3.28|~5.4.0
illuminate/filesystem ~5.3.28|~5.4.0
illuminate/support ~5.3.28|~5.4.0
illuminate/notifications ~5.3.28|~5.4.0
league/flysystem ^1.0.27
spatie/db-dumper ^2.6
spatie/temporary-directory ^1.1
symfony/finder ^3.0
dev phpunit/phpunit ^5.3.0
orchestra/testbench ~3.3.3|~3.4.0
mockery/mockery ^0.9.5


-   4.0.2 zip tar
-   4.0.1 zip tar
-   4.0.0 zip tar
-   3.10.2 zip tar
-   3.10.1 zip tar
-   3.10.0 zip tar
-   3.9.0 zip tar
-   3.8.2 zip tar
-   3.8.1 zip tar
-   3.8.0 zip tar
-   3.7.2 zip tar
-   3.7.1 zip tar
-   3.7.0 zip tar
-   3.6.1 zip tar
-   3.6.0 zip tar
-   3.5.0 zip tar
-   3.4.4 zip tar
-   3.4.3 zip tar
-   3.4.2 zip tar
-   3.4.1 zip tar
-   3.4.0 zip tar
-   3.3.3 zip tar
-   3.3.2 zip tar
-   3.3.1 zip tar
-   3.3.0 zip tar
-   3.2.2 zip tar
-   3.2.1 zip tar
-   3.2.0 zip tar
-   3.1.4 zip tar
-   3.1.3 zip tar