agencetwogether/filament-alert-box
Filament Alert Box is a simple package for adding customizable alert banners to Filament admin panels. Show success, warning, info, or danger messages with configurable styles, icons, and dismissible behavior, making important notices easy to surface across resources and pages.
admin vs members), which lets ops, support, or marketing publish different messaging to internal staff and to customers/end users from a single admin surface — no deploy required.--dry-run for a rehearsal and --all --no-interaction for pipeline automation, so it can be slotted into a normal release window.Adopt when:
Look elsewhere, or defer, when:
--all migration duplicates the existing alert list into every registered panel by design, so a large panel count converts the upgrade into a non-trivial per-panel cleanup task. Confirm the volume before committing.For executives. This is a small, targeted dependency that lets non-technical teams control the alert banners shown to different audiences — internal staff and customers — without engineering involvement. Release 2.0 makes it safe to run alongside multiple portals: previously an alert created for one audience was visible and editable from every other admin area, which is a governance problem as we add panels. The upgrade is a planned maintenance item, not a re-architecture, and there is no data-loss path.
For engineering. 2.0.0 changes alert storage from one shared list to a per-panel map. The migration is a first-class artisan command: run php artisan filament-alert-box:migrate-alerts --dry-run to preview, then --all --no-interaction in CI/CD or the interactive flow locally. If the command is skipped, the plugin auto-migrates the first time any panel's Manage alerts page is saved — safe, but non-deterministic, so prefer the explicit path. Two behavioral changes need verification: custom hooks are now registered once globally from the service provider rather than per panel during boot(), so re-check any public-facing Blade banner; and AlertBoxSeeder now writes the per-panel format across all registered panels, so update fixtures and demo seeds. New AlertBox::isCustomHook() and isLegacyAlertsFormat() helpers are available for tests and any custom logic.
Risk and effort framing. No data is deleted at any point; the migration duplicates existing alerts into the panels you select. That duplication is deliberate and requires a short cleanup pass — open each panel's Manage alerts page and remove what doesn't belong. Effort is small for typical installations: bump the dependency, rehearse with --dry-run, run the migration in the release window, verify the public banner and the seeder, then prune. The main thing to avoid is running --all on an installation with many panels or a large alert list without a plan for the cleanup, since every panel will receive a copy.
How can I help you explore Laravel packages today?