Skip to content
Advertisement

How to send mail after Laravel 5 default registration?

I’m noob in Laravel and working with Laravel 5. For user registration and and login, I want to use default system of laravel. But, need to extend it with two following features:

  1. User will get an email just after registration.
  2. Upon saving of user registration, I need to make an entry in another role table (I’ve used Entrust package for role management)

How to do these things?

Advertisement

Answer

You can modify Laravel 5 default registrar located in app/services

JavaScript

Inside resources/emails/welcome.blade.php

JavaScript

NB: You need to create route/controller for verify

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement