
Develop essential Laravel skills for building projects, including user registration with email notifications, events, queueing, and email sending, while gaining plugging knowledge to apply across future projects.
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.
Explore essential Laravel tools with a virtual environment using Homestead, plus Mailtrap for email testing and PhpStorm as the IDE. Learn to SSH into Homestead for migrations and databases.
Download the project files, run composer update to generate the vendor folder, and learn how to request access to a private Git repository to contribute via pull requests.
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.
Create a Laravel controller and routes to handle user activation via email links, including an activation method and a named route, and test with registration and activation flows.
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.
refactor registration code using Laravel events and listeners to handle activation emails, passing the user to an event and listener, and routing via service providers for clean, reusable code.
Implement an interactive notification system for user registration, upgrading from a plain bootstrap style to a modern alert-driven user interface with ajax-powered alerts and email activation messages.
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