pavel-mironchik / laravel-backup-panel by pavel-mironchik

An interface for Spatie Laravel Backup package
Package Data
Maintainer Username: pavel-mironchik
Maintainer Contact: (Pavel Mironchik)
Package Create Date: 2020-01-04
Package Last Update: 2021-08-05
Language: PHP
License: MIT
Last Refreshed: 2021-09-26 03:02:11
Package Statistics
Total Downloads: 14,689
Monthly Downloads: 419
Daily Downloads: 10
Total Stars: 308
Total Watchers: 4
Total Forks: 23
Total Open Issues: 1

Laravel Backup Panel

Latest Version on Packagist Build Status Quality Score StyleCI Total Downloads

Laravel Backup Panel provides a dashboard for spatie/laravel-backup package. It lets you:

  • create a backup (full | only database | only files)
  • check the health of your backups
  • list all backups
  • download a backup
  • delete a backup
  • monitor used disk storage


It resembles the look and functionality of another Spatie package: spatie/nova-backup-tool. This was done on purpose, so users can easily migrate from one to another. Only it doesn't use polling. A "real-time" updates of a backups list isn't such a necessarily thing and an intensive polling can cause unexpected charges if you use services that require to pay per API requests, such as Google Cloud Storage. Also, some users reported about hitting a rate limit of Dropbox API.


Make sure you meet the requirements for installing spatie/laravel-backup.


First you must install spatie/laravel-backup into your Laravel app. The installation instructions are here. When successful, running php artisan backup:run on the terminal should create a backup and php artisan backup:list should return a list with an overview of all backup disks.

You may use composer to install Laravel Backup Panel into your project:

$ composer require pavel-mironchik/laravel-backup-panel

After installing, publish it resources using provided Artisan command:

$ php artisan laravel-backup-panel:install

This will place assets into public/laravel_backup_panel directory, add config file config/laravel_backup_panel.php, and register service provider app/Providers/LaravelBackupPanelServiceProvider.php.


When upgrading the package, do not forget to re-publish assets:

$ php artisan vendor:publish --tag=laravel-backup-panel-assets --force


Laravel Backup Panel exposes a dashboard at /backup. Change it in config/laravel_backup_panel.php file:

'path' => 'backup',

Sometimes you don't want to run backup jobs on the same queue as user actions and things that is more time critical. Specify your desired queue name in config/laravel_backup_panel.php file:

'queue' => 'dedicated_low_priority_queue',

By default, you will only be able to access the dashboard in the local environment. To change that, modify authorization gate in the app/Providers/LaravelBackupPanelServiceProvider.php:

 * Register the Laravel Backup Panel gate.
 * This gate determines who can access Laravel Backup Panel in non-local environments.
 * @return void
protected function gate()
    Gate::define('viewLaravelBackupPanel', function ($user) {
        return in_array($user->email, [


Open http://your-site/backup. You'll see a dashboard and controls to use.


$ composer test


Please see CHANGELOG for more information about what has changed recently.


Please see CONTRIBUTING for details.


Make sure you've prepared a dummy Laravel application to test the package in, because assets will be copied there by this line in webpack.mix.js:

.copy('public/vendor/laravel_backup_panel', '../laravel-backup-panel-test/public/vendor/laravel_backup_panel');


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


If you like this package, consider supporting it. You can use this in such ways:

  1. If you don't have a Digital Ocean account yet - use this link to register one. You will get $100 in credit over 60 days, and once you spent $25 - I will get $25 too. This will cover the cost of hosting my nonprofit open-source projects there.
  2. If you have some Laravel/Vue project/work to be done, then contact me - I work as a freelancer (mostly at UpWork), and such a project can pay my bills.

And any other help will be appreciated.



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