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
Laravel News Partners

Laravel Jobs

Laravel Developer (Vue, SQL Server)
Remote
World Trade Organization
Web Application Developer (Vue.js & Laravel)
Remote
Apero Creative Development
Full Stack PHP Engineer
Alexandria, VA
Engage, LLC
Mid / Senior Laravel / Vue Engineer
Clearwater, FL
ShineOn
Platform Engineer
Canada
Maple

Newsletter

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