Introducing Laravel Authentication Log
I just release Laravel Authentication Log which tracks your user's authentication information such as login/logout time, IP, Browser, Location, etc. as well as sends out notifications via mail, slack, or sms for new devices and failed logins.
It's pretty plug and play. Just install and add a trait to the authenticable models you want to track.
It keeps a log of a user's authentication activity (Socialite included), as well as sends them emails about their activity (currently new device and failed logins with more to come).
Here are an example of those e-mails:
As you can see it also (optionally) logs the user's location at the time using the
torann/geoip package, marks if the user was successful at authenticating or not, as well as marks if the user cleared the sessions themselves using Laravel's
I also included an example Livewire Tables table in the read me if you would like to output the log which would look like this:
I hope you get some good use out of it. Check back soon for updates as I have more functionality in the pipeline.