Portal Snapshot plugin screenshot
Dark mode ready
Multilingual support
Supports v5.x

Portal Snapshot by Spiggle

Community

Filament plugin for creating, scheduling, restoring, exporting and remotely storing database snapshots with automated demo resets.

Tags: Developer Tool Kit Tables Spatie Integration
Supported versions:
5.x 4.x
Spiggle avatar Author: Spiggle

Package health

Automated checks of this plugin's Composer package

100 / 100
Security 100
Maintenance 100
Ecosystem 100
15 checks
  • Passed: GitHub Actions pinned to SHA
  • Skipped: GitLab CI includes pinned to SHA
  • Passed: Open security advisories
  • Passed: Dependabot PR responsiveness — No open Dependabot PRs.
  • Skipped: Renovate MR responsiveness
  • Passed: Dependabot or Renovate configured
  • Passed: Dependency update cooldown configured
  • Passed: Provides a security policy
  • Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
  • Passed: Commit and release recency — Active: last commit 0 days ago; last release 0 days ago.
  • Passed: composer.lock not committed by library — composer.lock is absent from the released dist archive.
  • Passed: Dist archive is lean
  • Passed: Current Laravel version supported — Package dependencies resolve together with current Laravel 13.0.
  • Passed: Current PHP version supported — Constraint ^8.3 supports current PHP 8.5.
  • Skipped: Current Symfony version supported
Third-party plugin. This is built by the community, not the Filament team. Filament does not review, endorse, or vet the security of plugins outside the filament/ namespace. Review the source and install at your own risk. Found malware or an unresolved security issue the author won't address? Report it .
Powered by Plumb Last scanned 4 weeks ago

Documentation

Spiggle Filament Portal Snapshot

A Filament 4.x and 5.x panel plugin for creating, scheduling, restoring, exporting, and remotely storing database snapshots with automated demo resets. It gives operators a calm, powerful dashboard to:

  • take a snapshot now
  • restore / revert a snapshot
  • export (download) a dump
  • copy a dump to remote storage (S3, GCS, SFTP, Google Drive via a Flysystem disk)
  • schedule recurring snapshots
  • schedule a midnight demo reset against a golden baseline
  • clean up old dumps
  • get a Filament bell notification and a queued email when work finishes

#Live demo

https://spiggle.skillbobby.com

Email: [email protected]
Password: password

#Requirements

Package Version
PHP ^8.3
Laravel 11, 12 or 13
Filament ^4.0 or ^5.0

#Installation

composer require spiggle/filament-portal-snapshot
php artisan filament-portal-snapshot:install

Add a snapshots disk to config/filesystems.php:

'snapshots' => [
    'driver' => 'local',
    'root' => database_path('snapshots'),
],

Register the plugin:

use Spiggle\FilamentPortalSnapshot\FilamentPortalSnapshotPlugin;

$panel->plugin(
    FilamentPortalSnapshotPlugin::make()
        ->authorize(fn (): bool => auth()->user()?->is_admin ?? false)
        ->navigationGroup('Portal')
        ->navigationSort(80)
);

Ensure Laravel's scheduler is running. The plugin registers portal-snapshot:run-schedules every minute.

#Demo reset

  1. Create a snapshot while the portal looks correct.
  2. Mark it golden on Portal → Snapshots.
  3. Add a schedule: Restore snapshot / Every night at 00:00 / Restore the golden snapshot.

#Configuration

Open Snapshot settings in the panel to choose the storage disk and local directory, remote copies, notifications, restore environments and the queue. Saved settings are stored in portal_snapshot_settings and override the config file on the next request.

You can still set defaults in config/filament-portal-snapshot.php and the environment. Use Reset to config defaults on the settings page to drop the saved values.

PORTAL_SNAPSHOT_DISK=snapshots
PORTAL_SNAPSHOT_PATH=
PORTAL_SNAPSHOT_COMPRESS=true
PORTAL_SNAPSHOT_KEEP=14
PORTAL_SNAPSHOT_QUEUE=default
PORTAL_SNAPSHOT_REMOTE_ENABLED=true
PORTAL_SNAPSHOT_REMOTE_DISKS=s3,backups
PORTAL_SNAPSHOT_MAIL=true
[email protected]

#Sponsors

If this package is useful, consider supporting development:

GitHub Sponsors

#License

MIT © Spiggle - @iamspiggle

The author

Spiggle avatar Author: Spiggle

Lifetime developer, always looking for new complexities to trivialize. A designer at heart—because everything good should look fantastic.

Plugins
12
Stars
16

From the same author