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 Logs Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Audit/compliance roadmap: Authentication logs are a prerequisite for security questionnaires, SOC 2 evidence, and enterprise procurement. This package can satisfy "do you log sign-in attempts?" questions without a dedicated engineering epic.
  • Security feature surface: Enables customer-facing or internal features like "recent login activity," suspicious sign-in alerts, and failed-attempt monitoring — common asks from support and enterprise buyers.
  • Build vs. buy / build vs. adopt: The package is a thin capture-and-query layer. It lets you defer the build decision: adopt the patterns now (or fork the package) and revisit in-house ownership when the feature becomes a core differentiator.
  • Account takeover (ATO) and fraud posture: Geolocation context on sign-ins feeds risk scoring, impossible-travel checks, and step-up authentication decisions — inputs to MFA/SSO sequencing on the roadmap.
  • Support and trust-and-safety operations: Gives CS and security teams self-serve visibility into a user's authentication history, reducing engineering escalations during incident response.
  • Prioritization signal: Low adoption (7 stars, 0 dependents) means this is a scope reference more than a production dependency; the PM decision is often "adopt the model, own the code," not "install the package."

When to Consider This Package

Consider it when:

  • You are on Laravel and need authentication event capture without a larger observability or SIEM contract (Datadog, Splunk, etc.).
  • You have an imminent enterprise/security review and need defensible audit logging quickly.
  • The requirement is narrow: record success/failure, expose query APIs, optionally notify and geolocate — not full behavioral analytics.
  • You are comfortable vendoring or forking the package, given its maturity level and single-maintainer risk.
  • Your team wants a reference contract for event schema and query surface before committing to an in-house build.

Look elsewhere when:

  • You need high-volume, tamper-evident, or long-retention audit logs (WORM storage, hash chaining, regulatory retention) — use a dedicated audit/observability platform.
  • Reliability and support guarantees matter. Zero dependents and low adoption mean no ecosystem validation; treat as pre-production maturity.
  • You require PII/geolocation compliance controls (GDPR, data residency, IP retention limits) that this package does not govern — you own that policy.
  • The stack isn't Laravel, or you already emit auth telemetry into an existing pipeline (e.g., structured logs to a central store) where adding a package creates a second source of truth.

How to Pitch It (Stakeholders)

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.

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.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package