Download the PHP package fomvasss/laravel-backup-ui without Composer

On this page you can find all versions of the php package fomvasss/laravel-backup-ui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-backup-ui

Laravel Backup UI

Latest Version on Packagist Total Downloads

A beautiful web interface for managing spatie/laravel-backup package. Built with Bootstrap 5 and designed to be easily integrated into any Laravel admin panel.

Features

Screenshots

Requirements

Note: since v2.0.0 this package no longer supports spatie/laravel-backup v8. If you're on v8, stay on ^1.4 of this package or upgrade spatie/laravel-backup first — see the v9 upgrade guide and v10 upgrade guide.

Installation

You can install the package via composer:

Publish the configuration file:

Optionally, you can publish the views:

Configuration

The configuration file config/backup-ui.php allows you to customize the package:

Queue Support (Async Backups)

For large databases or file backups that might timeout in a web request, you can enable asynchronous backup creation using Laravel queues:

Retries on failure: 3 attempts for creation, 1 for restore (a failed restore may have left the database in a partial state, so it isn't blindly retried).

The same queue setting is used for both backup creation and restore — both dispatch a job, write progress to Cache, and are polled by the same modal via GET /backup/status?progress_key=....

Example Horizon config (config/horizon.php):

Troubleshooting:

External Disk Support (S3, FTP, Google Cloud, etc.)

The package fully supports external backup disks including:

Key features for external disks:

Disks themselves are configured the standard Laravel way in config/filesystems.php, then listed under backup.destination.disks in config/backup.php — see the Laravel Filesystem docs and spatie/laravel-backup docs for driver-specific options.

Note: For external disks, file operations (download/delete) may take longer due to network latency. The interface will show appropriate loading states.

Usage

After installation, the backup interface will be available at /backup (or your configured route prefix).

Basic Usage

  1. View Backups: Navigate to the backup UI to see all configured backup destinations and existing backups
  2. Create Backup: Use the "Create Backup" dropdown to create full, database-only, or files-only backups
  3. Download: Click the download button next to any backup to download it
  4. Delete: Click the trash icon to delete individual backups
  5. Clean: Use the "Clean Old" button to remove old backups according to your retention policy
  6. Restore (local environment only): Click the restore button next to a backup to restore its database dump into your local database — see below

Restoring a Backup

Restoring overwrites your database, so it only ever runs when APP_ENV=local — the "Restore" button is neither rendered nor functional (403) in any other environment, and there is no restore route/action available at all outside local. Currently only mysql/mariadb/pgsql connections are supported — mysql/mariadb via the mysql client, pgsql via psql (both must be installed and on PATH).

From the UI: click the restore icon next to any listed backup (any configured disk — local, S3, Google Drive, etc.). It downloads the archive if needed, extracts the db-dumps/*.sql file matching your current database.default connection, asks for confirmation, and runs the import. Runs synchronously or via queue depending on backup-ui.queue.enabled, same as backup creation.

From the console, for a backup file you already have locally (e.g. downloaded from another environment):

The command guards on APP_ENV=local the same way, asks for confirmation before overwriting, and prompts you to pick a dump if the archive contains more than one and none matches the target connection by name.

Custom Authentication

You can implement custom authentication by setting the auth_callback in the configuration:

Restricting Access to Specific Users

Integration with Admin Panels

Simply add a link to /backup in your admin navigation menu.

Customization

Views

If you need to customize the views, publish them first:

The views will be published to resources/views/vendor/backup-ui/.

Security

The package includes several security measures:

Security Vulnerabilities

If you discover a security vulnerability within this package, please send an e-mail to the author via email. All security vulnerabilities will be promptly addressed.

Support

If you find this package helpful, please consider starring the repository and sharing it with others!

If this package is useful to you, consider supporting its development:

Monobank Ko-Fi USDT TRC20

USDT TRC20 address: THLgp6DxiAtbNHvgnKV56vk1L38UuUagKf

Contributing

Please see CONTRIBUTING for details.

Credits

License

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


All versions of laravel-backup-ui with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^10.10|^11|^12|^13
spatie/laravel-backup Version ^9.0|^10
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package fomvasss/laravel-backup-ui contains the following files

Loading the files please wait ...