Level 2
Problem Solved.
I added 1 line of code and managed to achieve it.
->line(Lang::getFromJson('Hi ' . $notifiable->name . ','))
Then I removed these lines of code from email.blade.php
@else
# @lang('Hello!')
4 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi everyone,
I am using VerifyEmail feature built-in by the Laravel scaffold.
How do I add the username in the email template instead of saying Hello only?

Problem Solved.
I added 1 line of code and managed to achieve it.
->line(Lang::getFromJson('Hi ' . $notifiable->name . ','))
Then I removed these lines of code from email.blade.php
@else
# @lang('Hello!')
Please or to participate in this conversation.