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 the weekly newsletter and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Laravel Developer
San Jose, CA - Must Be Local
X3 Builders
Experienced PHP Developer
Wilmington, NC
Queensboro Shirt Company
Senior Laravel developer
Netherlands, Rotterdam
Pionect
Senior Laravel Engineer
Remote okay (must already live in USA)
Hawthorne Effect
Senior Software Engineer (Remote - Contract)
Remote
Koodi Systems
PHP Developer
Pittsburgh / Remote
Sequoia Waste Solutions
Software Developer
Eindhoven
Simac IDS