I want a message on my applications login page when the event of logout is trigged under
protected $listen = [
'App\Events\Logout' => [
You should be able to listen for this event, however, the event isn't in your
The namespace for the core Auth events is
Illuminate\Auth\Events so you would have:
protected $listen = [ 'Illuminate\Auth\Events\Logout' => [ 'App\Listeners\LogoutEvent' ], ];
Hope this helps!