Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Auth Log Laravel Package

label84/laravel-auth-log

Laravel Auth Log adds an audit trail for authentication activity in Laravel apps. It records successful logins, logouts, and failed attempts with useful context, making it easy to review and query auth history through a clean Eloquent model and configurable setup.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Security & compliance roadmap: label84/laravel-auth-log persists authentication events (successful logins, logouts, failed attempts) to a database table, giving product and security teams an auditable trail without building an event-listener subsystem from scratch. This directly supports decisions around SOC 2 / ISO 27001 readiness, GDPR "access logging" obligations, and internal security review findings.
  • Build vs. buy: The functional surface is small and well-understood — a listener on Laravel's Auth events plus a migration and model. The realistic comparison isn't "build vs. buy a vendor product," it's "spend a sprint building and maintaining this internals glue vs. pull a ~one-file dependency." For most teams the package wins on cost; for teams with strict data-retention, multi-tenant, or anomaly-detection needs, it becomes a starting point to fork or wrap.
  • Feature enablement: Unlocks user-facing security features cheaply — "last login" and "active sessions" displays, account-takeover detection, suspicious-IP alerts, and admin impersonation auditing. These are typically roadmap items that get deprioritized because they require plumbing; this package removes most of that plumbing.
  • Upgrade-path planning: v1.4.1 adds Laravel 13 support only. That is a signal the maintainer is tracking framework releases, which de-risks keeping the dependency through the next major Laravel upgrade cycle.

When to Consider This Package

Consider it when:

  • You are on Laravel (8+ through 13, per the maintained support window) and need authentication audit logging with minimal integration effort.
  • Your requirement is capture and store auth events; you have (or will build) the querying, alerting, and retention layers yourself.
  • You want an Eloquent-backed table you control — schemas, indexes, and pruning are yours, which matters for data-residency and retention policy.
  • You are pre-compliance (SOC 2 Type I, ISO 27001 gap-closing) and need evidence of access logging quickly.

Look elsewhere or build in-house when:

  • You need real-time anomaly detection, geo-IP enrichment, or SIEM forwarding — this package logs; it does not analyze or ship events.
  • You require guaranteed long-term maintenance, SLA-backed support, or a vendor security questionnaire. This is a single-maintainer open-source project; treat it as a dependency you may need to adopt.
  • Your auth is non-standard (custom guards, SSO-only, passwordless) and you would be writing most of the listener logic anyway.
  • You operate at a scale where every login writes a row to your primary database and you have no async/queue strategy — evaluate write amplification before rollout.

Release-specific note: v1.4.1 is a compatibility patch (Laravel 13 support, contribution by @tjardoo). No breaking changes, no new features, no deprecations. Upgrading is low-risk; pinning to ^1.4 is reasonable.

How to Pitch It (Stakeholders)

For executives: We can close a meaningful piece of our security-logging gap for roughly the cost of a code review rather than an engineering sprint. It records who logged in, who failed, and when — the evidence auditors ask for — and it stays inside our own database, so no new vendor, no data-processing agreement, no per-seat cost. Risk to flag: it is a small open-source project maintained by an individual, so we should plan to be able to maintain a fork if it ever goes stale.

For engineering: It hooks Laravel's native auth events and writes to an Eloquent model you own — roughly one migration, one config publish, and a listener. v1.4.1 confirms Laravel 13 compatibility, so it will not block our next framework upgrade. It deliberately stops at persistence: no querying UI, no alerting, no retention/pruning. Budget for those explicitly — table growth and PII considerations in the log rows are the two things that bite in production, and both are our responsibility, not the package's. Recommended posture: adopt, wrap the model behind our own repository/service so a future fork or replacement is a contained change, and add a scheduled prune task on day one.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console