Download the PHP package monzer/filament-email-verification-alert without Composer
On this page you can find all versions of the php package monzer/filament-email-verification-alert. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download monzer/filament-email-verification-alert
More information about monzer/filament-email-verification-alert
Files in monzer/filament-email-verification-alert
Package filament-email-verification-alert
Short Description Send Email verifications on the fly!
License MIT
Informations about the package filament-email-verification-alert
Filament Email Verification Alert
A Filament plugin that adds an email verification alert to your admin panel. This plugin integrates seamlessly with Filament's design and provides an easy way to alert users about email verification.
Features
- 🔔 Email verification alert for unverified users
- 🎨 Multiple color themes (yellow, blue, red)
- 🌐 RTL support
- ⚡ Lazy loading support
- 💪 Customizable verification handling
- 🔒 Session-based alert persistence
- ✖️ Optional close button
- 🔄 Configurable loading placeholder
Screenshots
Installation
You can install the package via composer:
Basic Usage
In your FilamentServiceProvider
or any service provider where you configure your panel, add:
Available Methods
Basic Configuration
Creates a new instance of the plugin.
Color Customization
Sets the color theme for the alert. Defaults to 'yellow'.
Alert Persistence
By default, the alert will reappear if the page is refreshed after closing. Using persistClosedState()
makes the closed state persist throughout the user's session.
Alert Visibility Controls
Closable Button
By default, the alert shows a close button. You can disable it to make the alert persistent.
Placeholder Loading State
Control the visibility of the loading placeholder during lazy loading.
Verification Handler
Customizes how verification emails are sent.
Position Customization
By default the panels::topbar.start
hook is used to render the alert. But you can use any of the Render Hooks available in Filament using the renderHook()
method as:
Scoping
Limits where the alert appears. By default, shows on all pages.
Lazy Loading
Controls whether the alert is lazy loaded.
Complete Example
Method Chaining
All methods return the plugin instance, allowing for method chaining:
License
The MIT License (MIT). Please see License File for more information.