<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
monzer / filament-email-verification-alert example snippets
use Monzer\FilamentEmailVerificationAlert\EmailVerificationAlertPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
EmailVerificationAlertPlugin::make(),
]);
}
EmailVerificationAlertPlugin::make()
->color('blue') // 'yellow', 'blue', or 'red'
->persistClosedState() // Alert will stay hidden after being closed until the session ends
->closable(false) // Removes the close button, making the alert persistent
->placeholder(false) // Disables the loading placeholder