akira/laravel-auth-logs
Laravel package for tracking authentication events such as logins, logouts, and failed attempts. It records the user, IP address, device/user agent, and timestamps in a configurable database table, making account activity easy to audit and suspicious access easier to investigate.
Consider it when:
Look elsewhere when:
To executives: Authentication logging is a low-cost, high-leverage security and sales-enablement capability. It answers recurring security questionnaires, shortens enterprise deal cycles, and gives us the data foundation for suspicious-login alerts and account-takeover protection. This package offers a fast path to a working baseline; given its early maturity, we recommend adopting the approach and owning the implementation rather than depending on it long-term. Cost is measured in days, not a quarter.
To engineering: The package models auth events (success/failure, timestamp, optional geo/IP context, optional notifications) and a query layer. Treat it as a design reference and a possible starting point — expect to fork. Key diligence items: event schema stability, notification dispatch coupling, geolocation provider dependency and failure modes, IP/PII retention policy, and write-path performance under login spikes. Recommend a two-week spike: fork, wire to our auth guards, and validate query patterns against support/security use cases before committing.
How can I help you explore Laravel packages today?