Skip to content

Login Audit

This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.

FieldValue
Composer packagecapell-app/login-audit
Package sluglogin-audit
Product groupCapell Security & Compliance
Tierpremium
Bundlesecurity-compliance
Runtime contextsadmin
Capell version^1.0
Catalogue roleextension
Release channelBeta
Source repositorycapell-app/packages
Source pathpackages/login-audit
Docs sourcepackages/login-audit/docs
Manifestcapell.json

Login Audit is an Available, Schema-owning Capell package in the Capell Security & Compliance product group. It ships as capell-app/login-audit and extends these surfaces: admin.

Login Audit records authentication activity, detects suspicious sign-ins, and applies configurable retention and IP-address handling.

Admins can filter and export login records, inspect recent activity, and receive alerts for configured suspicious-login conditions.

Status details:

  • Status: Available
  • Tier: premium
  • Bundle: security-compliance
  • Composer package: capell-app/login-audit
  • Namespace: Capell\LoginAudit
  • Theme key: not applicable

For developers: Authentication events record exact audit rows; an after-commit observer delegates each created identity to focused detection and alert Actions. Privacy export, erasure, and retention also remain Action-owned.

For teams: Operators get an evidence trail for account access and a practical way to investigate unusual sign-in activity.

Screenshot contract: docs/screenshots.json.

Authentication logs admin index Authentication logs admin index Authentication log table filters Authentication log table filters
  • Authentication logs admin index (admin, required authentic evidence).
  • Authentication log table filters (admin, required evidence).
  • Dashboard widget (admin, required evidence).
  • Authentication log settings screen (admin, required evidence).
  • User edit access summary (admin, required evidence).
  • User authentication logs relation manager (admin, required evidence).
  • Authentication logs admin index with admin sidebar menu open (admin, supplementary evidence).
  • Capell\LoginAudit\Providers\LoginAuditServiceProvider
  • Capell\LoginAudit\Providers\AdminServiceProvider
  • packages/login-audit/config/login-audit.php
  • packages/login-audit/database/migrations/2026_05_10_190857_01_create_login_audit_table.php
  • packages/login-audit/database/migrations/2026_07_09_000001_add_activity_lookup_hashes_to_login_audit_table.php
  • packages/login-audit/database/migrations/2026_07_10_000001_drop_plaintext_ip_from_login_audit_table.php
  • packages/login-audit/database/migrations/2026_08_12_000001_repair_legacy_login_audit_schema.php
  • packages/login-audit/database/settings/2026_05_10_190858_01_add_login_audit_settings.php
  • packages/login-audit/database/settings/2026_06_06_000001_add_login_audit_suspicious_detection_settings.php
  • packages/login-audit/database/settings/2026_06_06_000002_add_login_audit_alert_settings.php
  • packages/login-audit/database/settings/2026_06_06_000003_add_login_audit_geo_location_setting.php
  • packages/login-audit/database/settings/2026_08_05_000001_add_two_factor_reset_setting.php
  • LoginAuditSettings
  • LoginAudit
  • LoginAuditAdminPanelExtender
  • LoginAuditResource
  • LoginAuditInfolist
  • LoginAuditsTable
  • LoginAuditsRelationManager
  • LoginAuditDashboardSettingsContributor
  • LoginAuditSettingsSchema
  • LoginAuditsFilamentWidget
  • LoginAuditPolicy
  • LogoutListener
  • OtherDeviceLogoutListener
  • ApplyLoginAuditSettingsAction
  • BuildLoginAuditPrivacyExportAction
  • BuildLoginAuditsCsvAction
  • BuildLoginAuditsQueryAction
  • DetectSuspiciousLoginAction
  • EraseLoginAuditPrivacyDataAction
  • ProcessCreatedLoginAuditAction
  • RecordLoginAuditPurgeAction
  • ResolveLoginAuditIpAddressAction
  • SendLoginAuditAdminAlertAction
  • ShouldTrackAdminActivityAction
  • ShouldTrackUserIpAddressesAction
  • UpdateLastSeenForActorAction
  • LoginAuditEventData
  • LoginAuditRecordIdentityData
  • ProcessedLoginAuditData
  • applyLoginAuditSettings: Capell\LoginAudit\Actions\ApplyLoginAuditSettingsAction
  • buildLoginAuditsCsv: Capell\LoginAudit\Actions\BuildLoginAuditsCsvAction
  • buildLoginAuditsQuery: Capell\LoginAudit\Actions\BuildLoginAuditsQueryAction
  • detectSuspiciousLogin: Capell\LoginAudit\Actions\DetectSuspiciousLoginAction
  • recordLoginAuditPurge: Capell\LoginAudit\Actions\RecordLoginAuditPurgeAction
  • resolveLoginAuditIpAddress: Capell\LoginAudit\Actions\ResolveLoginAuditIpAddressAction
  • sendLoginAuditAdminAlert: Capell\LoginAudit\Actions\SendLoginAuditAdminAlertAction
  • shouldTrackAdminActivity: Capell\LoginAudit\Actions\ShouldTrackAdminActivityAction
  • shouldTrackUserIpAddresses: Capell\LoginAudit\Actions\ShouldTrackUserIpAddressesAction
  • updateLastSeenForActor: Capell\LoginAudit\Actions\UpdateLastSeenForActorAction
  • authentication-log:purge (daily; package registered)
  • admin-resource: Capell\LoginAudit\Manifest\LoginAuditAdminResourcesContribution
  • dashboard-widget: Capell\LoginAudit\Manifest\LoginAuditDashboardFilamentWidgetContribution
  • health-check: Capell\LoginAudit\Manifest\LoginAuditHealthContribution
  • model: Capell\LoginAudit\Manifest\LoginAuditModelsContribution
  • permission: Capell\LoginAudit\Manifest\LoginAuditPermissionsContribution
  • scheduled-job: Capell\LoginAudit\Manifest\LoginAuditPurgeScheduleContribution
  • setting: Capell\LoginAudit\Manifest\LoginAuditSettingsContribution
  • Capell\LoginAudit\Health\LoginAuditHealthCheck
  • Required tables: login_audit.
  • Models: LoginAudit.
  • Migration files: 2026_05_10_190857_01_create_login_audit_table.php, 2026_07_09_000001_add_activity_lookup_hashes_to_login_audit_table.php, 2026_07_10_000001_drop_plaintext_ip_from_login_audit_table.php, 2026_08_12_000001_repair_legacy_login_audit_schema.php.
  • Migration impact: run host migrations through the package install flow before opening package surfaces.
  • Deletion/retention behaviour: retention is scheduled through authentication-log:purge (daily; registered by the package provider).
  • Required packages: capell-app/admin, capell-app/core.
  • Admin navigation: declares admin-resource: LoginAuditAdminResourcesContribution; each Filament page or resource controls its own navigation visibility.
  • Admin/editor extensions: dashboard-widget: LoginAuditDashboardFilamentWidgetContribution.
  • Permissions: View:LoginAudit, Approve:TwoFactorReset; access also governed by package policies: LoginAuditPolicy.
  • Public routes: none declared.
  • Database changes: package migrations are declared.
  • Config: config/login-audit.php.
  • Settings: Capell\LoginAudit\Settings\LoginAuditSettings.
  • Queues or schedules: scheduled commands authentication-log:purge (daily; package registered).
  • Cache tags: none declared.
  • Commands: none declared.
  • Keep required Capell packages on compatible v4 releases: capell-app/admin, capell-app/core.
  • Run migrations before opening package resources or public routes.
  • Review package configuration before production-like verification: config/login-audit.php, Capell\LoginAudit\Settings\LoginAuditSettings.
  • Keep the host Laravel scheduler running so package-registered schedules can execute: authentication-log:purge (daily; package registered).
SymptomLikely causeCheckFix
Package surface is missing after installProvider or manifest is not loadedConfirm capell.json, package composer.json, and provider registrationReinstall the package, refresh Composer autoload, and clear host caches
Admin screen or command fails on missing tablePackage migrations have not runCheck the tables listed in Data ModelRun host migrations and rerun the focused package test
Background work does not runQueue worker or declared schedule is not activeCheck the jobs and scheduled commands listed in Technical ShapeStart the queue worker or host scheduler, then run the focused command or package test
  1. Install the package: composer require capell-app/login-audit.
  2. Open the package admin surface at /admin/login-audit/login-audits and confirm Login Audit is available.