In this tutorial we're going to create a new Laravel listener that will listen to the user logged in event and then update the user record with the time they logged in.
This is a handy feature to check how often your users are logging in and which ones are most active in your application.
Laravel has a built feature to create events in your application, this will allow you to run code based off different actions in your application.
If you've used
Get weekly updates to your email