Download the PHP package laraveldaily/laraonboarding without Composer
On this page you can find all versions of the php package laraveldaily/laraonboarding. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laraveldaily/laraonboarding
More information about laraveldaily/laraonboarding
Files in laraveldaily/laraonboarding
Package laraonboarding
Short Description Sending onboarding emails to registered users
License MIT
Informations about the package laraonboarding
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.
Installation
composer require laraveldaily/LaraOnboarding
php artisan vendor:publish
- will publish configuration and view filesphp artisan migrate
- it will addunsubscribed_at
field to yourusers
table- Fill your
config/onboarding.php
configuration file.
Usage and configuration
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:
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
.
License
The MIT License (MIT). Please see License File for more information.
More from our LaravelDaily Team
- Check out our adminpanel generator QuickAdminPanel
- Read our Blog with Laravel Tutorials
- FREE E-book: 50 Laravel Quick Tips (and counting)
- Subscribe to our YouTube channel Laravel Business
- Enroll in our Laravel Online Courses