Download the PHP package webhubworks/laravel-backup-viewer without Composer

On this page you can find all versions of the php package webhubworks/laravel-backup-viewer. 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-viewer

Laravel Backup Viewer

A read-only admin page for spatie/laravel-backup. No interactive scheduling, no setting changes — just a clean view of the state your backup config produces.

Features

Event-driven: the page reads from a small JSON state file populated by listeners that subscribe to spatie's BackupHasFailed, BackupWasSuccessful, HealthyBackupWasFound, UnhealthyBackupWasFound. No work runs on page load except free-disk-space probing.

Installation

Optionally publish the config (see Configuration for what's in it):

The package depends on spatie/laravel-backup to actually do anything useful — install it too if you haven't:

Authorization

The route is only accessible in the local environment by default. Open it up elsewhere with the gate-style API (same pattern as Horizon::auth):

The callback receives the incoming Illuminate\Http\Request and must return true to allow access.

Configuration

Default settings work for most apps. To override (route path, middleware, download size cap, favicon, low-disk threshold), publish the config:

That writes config/backup-viewer.php:

Multi-icon favicon setups

For apps that use realfavicongenerator-style multi-icon setups, paste the entire <link> block into the favicon.html key:

Where state is stored

Listeners write event activity to <first-local-backup-disk>/<backup-name>/laravel-backup-viewer-state.json so the file lives next to the backups it describes. Apps with only remote disks fall back to storage/app/backup-viewer/state.json. The file is written atomically (tmp + rename).

Scheduling

Stick the spatie commands in Laravel's scheduler:

The Backup health card surfaces those entries and humanizes the cron expression ("Daily at 02:00").

Commands you'll actually run

This package adds no Artisan commands of its own. The relevant ones come from spatie/laravel-backup:

Command Purpose
php artisan backup:run Create a new backup
php artisan backup:run --only-db Database-only backup
php artisan backup:list List backups across all configured disks
php artisan backup:clean Apply retention rules
php artisan backup:monitor Re-run health checks; populates this page's monitor card

Frontend

Pre-compiled Tailwind v4 + Alpine.js are committed inside the package and inlined into the response via BackupViewer::css() / BackupViewer::js() (same pattern as Laravel Horizon). The host app needs no Vite config, no vendor:publish step for assets.

Compatibility

License

MIT. See LICENSE.md.


All versions of laravel-backup-viewer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/contracts Version ^11.0|^12.0|^13.0
spatie/laravel-package-tools Version ^1.16
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 webhubworks/laravel-backup-viewer contains the following files

Loading the files please wait ...