Sending onboarding emails to registered users
laraveldaily/laraonboarding is a Laravel package for sending onboarding emails to registered users.
It currently has 22 GitHub stars and 154 downloads on Packagist (latest version 0.1.1).
Install it with composer require laraveldaily/laraonboarding.
Discover more Laravel packages by laraveldaily
or browse all Laravel packages to compare alternatives.
Last updated
Laravel package for sending scheduled emails to registered users, on their 2th, 4th or Xth day after registration. Typical usage is "onboarding" emails during free trial period or first days of using your application.

composer require laraveldaily/LaraOnboardingphp artisan vendor:publish - will publish configuration and view filesphp artisan migrate - it will add unsubscribed_at field to your users tableconfig/onboarding.php configuration file.Once a day run a command php artisan onboarding:send which will send the emails to all users registered X days ago, according to config file.
By default, your file config/onboarding.php will contain two emails to send:
/**
* Days after the user registration, email subject and email template for the specified case
*/
return [
[
'template' => 'laraveldaily.onboarding.emails.example-mail',
'days' => 2,
'subject' => 'Second day email',
],
[
'template' => 'laraveldaily.onboarding.emails.example-mail',
'days' => 4,
'subject' => 'Fourth day email',
],
// add more in the same format...
];
This configuration means that when running php artisan onboarding:send, system will send an email with template example-mail and subject 'Second day email' to users who registered 2 days ago (by users.created_at), and also example-mail to users who registered 4 days ago.
So change these according to your needs.
Email templates can be found in the folder resources/views/laraveldaily/onboarding/emails.
The MIT License (MIT). Please see License File for more information.