--- title: 'You can record all login & logout events' tweet_id: '1507455544021250049' thread_slug: weekly-thread-2022-12 author_username: mattkingshott images: - 'https://pbs.twimg.com/media/FOoOjf-XIAMPLIW.jpg' created_at: 2022-03-25T20:33:03+00:00 slug: you-can-record-all-login-logout-events --- 🔥 #Laravel Tip: If your app needs to record logins and logouts for security purposes (auditing), then you should definitely make use of the auth events, which allow you to easily listen for them.