yungts97/laravel-user-activity-log
Lightweight Laravel package that automatically records user activity—logins, logouts, and model changes—into database or custom channels. Ships with a clean query API, configurable log names, and easy integration into existing auth and Eloquent workflows.
User, Admin, Customer, etc. This is a real architectural decision point: if your roadmap includes an admin portal or partner portal with its own authenticatable model, this reduces the "we'll need custom logging" caveat.Adopt when:
Look elsewhere (or build) when:
For this release specifically: v1.4.2 is a patch release containing bug fixes only — no breaking changes, no deprecations, no new features. It is safe to take, and it improves correctness in exactly the multi-model scenario that most affects larger apps.
To executives: A small, low-risk dependency that closes a recurring audit gap around authentication logging. It reduces the engineering effort and ongoing maintenance needed to answer "who accessed what, and when" during security reviews and incident response. The latest patch is maintenance-only — no migration work, no user-facing change.
To engineering: Drop-in Laravel package that hooks standard authentication events and writes them through Laravel's logging stack. v1.4.2 fixes two real defects — logging was inconsistent when multiple authenticatable models were in play, and events were being emitted for unauthenticated (guest) requests — and adds .gitattributes to keep the test suite out of the distributed package. Both fixes improve log fidelity and reduce noise in alerting. Recommended next step: install, then add a test asserting the exact expected log line for each authenticatable model and for a failed login, so regressions surface in CI rather than in an audit. Given the patch-level scope, treat this as a version bump and keep an eye on the release history.
How can I help you explore Laravel packages today?