
Learn how to build a Laravel user registration with email notifications by wiring controllers, migrations, events, and third-party integrations, sending activation emails, and queuing messages.
We create a database, migrations, models and we finally migrate.
We setup the models relations and the fillable on each model.
Explore route model binding in Laravel, comparing passing an id versus injecting the model, and bind the model by the code column to fetch activation data efficiently.
Here we hook into the registration and create the activation code.
On this lecture we setup our email smtp configurations, we create an email class and for those using this feature for the first time, I would be explaining how it works.
Configure a database queue for Laravel registration emails, create and migrate a jobs table, and process queued emails with queue listen to speed user feedback.
Here we add notifications for the registration page, so the user knows that they have to check their email for activation and also the resend code notification for the login page.
Here we create routes for the controller and hook up the link from the notification to a method
Prevent not activated users from logging in within Laravel by hooking into the login flow, checking activation status, and guiding them to resend activation codes via email.
Resend method part 2 shows fetching a user by email, checking activation status, queuing the activation email with the activation code, and redirecting activated users to the dashboard.
Integrate a new notification system for user registration by enabling email notifications and ajax-based resending, implementing an ajax workflow to trigger and confirm email delivery via mail trap.
Encourage learners to check out the instructor's profile, rate the course with a five-star review, and reach out for help to ensure continued trust.
Learn how to activate users account via email with your Laravel app.
On this course we cover
You can use the knowledge of this course to create a really awesome user registration that activates and notifies users in Laravel apps.
Laravel has become one of the best and most popular PHP framework on the planet. For a time it seemed that PHP was boring and and just plain old. Laravel brought back the joy of coding to the PHP community.
Laravel has many functionalities right out of the box, but it is lacking the account user activation which in my opinion is necessary for applications to have since there is so much SPAM.
On this course, we are going straight to the point and build an account activation small app where the user registers, gets an email to activate their account and if they did not get it, they can ask for the code again.
If you ready to learn then I'm ready to teach, lets do it
Edwin Diaz