Every two weeks I send out a newsletter containing lots of interesting stuff for the modern PHP developer. You can expect quick tips, links to interesting tutorials, opinions and packages. Want to learn the cool stuff? Then sign up now!

A package to backup your Laravel 5 app

Last week I made a Laravel 5 package that could dump your db. Last saturday night I took the time to expand the functionality.

laravel-backup can now backup your entire 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.

Reading the config file will give you a pretty good idea of what’s possible. You can start the backup process by issuing this artisan command:

php artisan backup:run


Freek Van der Herten is a partner and developer at Spatie, an Antwerp based company that specializes in creating web apps with Laravel. After hours he writes about modern PHP and Laravel on this blog. When not coding he’s probably rehearsing with his kraut rock band.
  • emini

    Thank you for the package! Definitely going to try this out on my next project!

    • emini

      Tried it, awesome package!!! Love it!

  • Prosper


  • Jérémie Ges

    I will try that, thx man !

  • gildniy

    Like this one, thanks a milli!

  • Pingback: A modern backup solution for Laravel apps | murze.be()