Send Users a Welcome Notification to Set an Initial Password

Send Users a Welcome Notification to Set an Initial Password

Laravel Welcome Notification is a new package by Freek Van der Herten to send a welcome notification to new users. The welcome notification contains a secure link where the new user can set an initial password.

The package adds a welcome_valid_until column to the users database table, which the package uses to generate a temporary signed route. You can kick off the process of sending the welcome email and set the validation expiration date:

$expiresAt = now()->addDay();

$user->sendWelcomeNotification($expiresAt);

This package has quite a few customization options, such as customizing the mail message or swapping out an entirely different notification class. Be sure to check out the readme.

You can learn more about this package, get full installation instructions, and view the source code on GitHub at spatie/laravel-welcome-notification.

Filed in: News / packages

Newsletter

Join 31,000+ others and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Senior Fullstack Developer / Architect (w/m/d)
Remote / Munich - Germany
envivo.select GmbH
Medior full stack developer (Laravel)
Deventer (or remote) in the Netherlands, Dutch speaking required.
MSML B.V.
Senior Full Stack PHP Developer (Laravel)
Remote
MAPPEN
Senior Laravel Developer
Remote
ACTO
Senior Full-Stack Engineer
[REMOTE: USA Only]
Curricula