Skip to main content
Category:

More Events on User Registration


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


class EventServiceProvider extends ServiceProvider
{
   protected $listen = [
        Registered::class => [
                 SendEmailVerificationNotification::class,
                   // You can add any Listener class here
                   // With handle() method inside of that class
       ],
    ];

Riadh Rahmi

Senior Web Developer PHP/Drupal & Laravel

I am a senior web developer, I have experience in planning and developing large scale dynamic web solutions especially in Drupal & Laravel.

Web Posts

Search

Page Facebook