Want to perform some actions after new user registration? Head to app/Providers/EventServiceProvider.php
and add more Listeners classes, and then in those classes implement handle()
method with $event->user
object
1class EventServiceProvider extends ServiceProvider 2{ 3 protected $listen = [ 4 Registered::class => [ 5 SendEmailVerificationNotification::class, 6 7 // You can add any Listener class here 8 // With handle() method inside of that class 9 ],10 ];