in Laravel

Laravel User Last Logged In

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 Events

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

Upgrade to access all content on Paulund

Members unlock all tutorials and snippets

Access to all downloadable content

Access to code examples before others

Sign Up Now

Already a member? Login here

Subscribe To The Weekly Newsletter

Get weekly updates to your email