Category: Laravel

In this Post we wanna learn how to implement a welcome email after user registration. In this tutorial we a assume you have an existing project if not install laravel using composer.

We now want to register data to both event and listener generated above.

Remember to change the name i.e from $order to user, and in our constructor as well.

Since the event helper is globally available, you may call it from anywhere in your application: In our user model we want to add the following event action.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners