Portal Snapshot by Spiggle
CommunityFilament plugin for creating, scheduling, restoring, exporting and remotely storing database snapshots with automated demo resets.
Author:
Spiggle
Package health
Automated checks of this plugin's Composer package
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.lockis 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.3supports current PHP8.5. - Skipped: Current Symfony version supported
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
.
Documentation
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
- Create a snapshot while the portal looks correct.
- Mark it golden on Portal → Snapshots.
- 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:
#License
MIT © Spiggle - @iamspiggle
The author
From the same author
Form Builder
A lightweight, open-source package that brings powerful, database-driven form generation to your Laravel and Filament applications.
Author:
Spiggle
Rules Engine
Tenant-scoped lifecycle rules for Laravel Filament — fire actions when members hit age milestones, tenure, inactivity, or spend thresholds.
Author:
Spiggle
Geo Lock
Spiggle Geo Lock adds location-aware access control to your application, allowing you to restrict features, content, or entire areas based on a user's geographic location. Simple to configure, flexible to extend, and designed to integrate seamlessly into modern Filament panels.
Author:
Spiggle
Soffit Theme
A soft, calm admin shell for Laravel Filament. Soffit softens the Filament experience with a full-height white sidebar, rounded cards, quiet ambient shadows, and warm teal & brass accents.
Author:
Spiggle
Featured Plugins
A selection of plugins curated by the Filament team
Noir Theme
A theme that gives panels a focused, refined look with near-black surfaces, crisp actions, and restrained color.
Filament
Sharp Theme
A theme that gives panels a precise, technical look with square corners, strong borders, and clear contrast.
Filament
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese