Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

Azuriom/Azuriom

703 stars
2 code files
View Azuriom/Azuriom on GitHub

app/Notifications/VerifyEmail.php

Open in GitHub
use Illuminate\Auth\Notifications\VerifyEmail as Notification;
use Illuminate\Notifications\Messages\MailMessage;
 
class VerifyEmail extends Notification
{
protected function buildMailMessage($url): MailMessage
{
return (new MailMessage())
->subject(trans('auth.mail.verify.subject'))
->line(trans('auth.mail.verify.line1', [
'count' => config('auth.verification.expire', 60),
]))
->action(trans('auth.mail.verify.action'), $url)
->line(trans('auth.mail.verify.line2'));
}
}

app/Models/User.php

Open in GitHub
use Azuriom\Notifications\VerifyEmail as VerifyEmailNotification;
 
class User extends Authenticatable implements MustVerifyEmail
{
// ...
 
public function sendEmailVerificationNotification(): void
{
$this->notify(new VerifyEmailNotification());
}
}

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.