All events live in RoundlyConsulting\Auth\Events, are final readonly, carry the guard name and never a secret — hook your audit log here:
| Group | Events |
|---|---|
| Login | LoginSucceeded, LoginFailed, LoginChallenged, ChallengeStepCompleted, ChallengeFailed, LoginThrottled, MagicLinkRequested, EmailOtpRequested, NewDeviceDetected, SuspiciousLoginDetected |
| Tokens & sessions | TokensIssued, TokensRefreshed, LoggedOut, AccountTokensInvalidated, RefreshTokenReuseReported |
| Account | AccountRegistered, AccountDisabled, AccountEnabled, AccountLocked, AccountUnlocked, LocaleUpdated, Reauthenticated |
| Passwords | PasswordResetRequested, PasswordReset, PasswordChanged, PasswordRehashed, BreachedPasswordCheckFailed |
| EmailVerificationSent, EmailVerified, EmailChangeRequested, EmailChanged | |
| Invitations | InvitationCreated, InvitationSent (only when the link was mailed), InvitationRevoked, InvitationAccepted |
| 2FA & passkeys | TwoFactorEnabled, TwoFactorDisabled, RecoveryCodesRegenerated, RecoveryCodeUsed, PasskeyAdded, PasskeyRemoved |
| Activity | LoginActivityRecorded (activityId, guard) |
use Illuminate\Support\Facades\Event;
use RoundlyConsulting\Auth\Events\AccountRegistered;
use RoundlyConsulting\Auth\Events\AccountTokensInvalidated;
Event::listen(AccountRegistered::class, fn (AccountRegistered $event) => Statistics::increment('registrations'));
Event::listen(function (AccountTokensInvalidated $event): void {
// $event->guard, ->account, ->reason (InvalidationReason), ->scope (InvalidationScope), ->revoked
});Read $invitation->payload in an InvitationAccepted listener to assign roles, and enrich activity rows from LoginActivityRecorded. The lower packages keep firing their own events; Laravel’s Illuminate\Auth\Events are not dispatched (a Registered event would trigger Laravel’s verification mail on MustVerifyEmail models).
Show your open-source love
This package is free and MIT-licensed. If it saves you time, a one-off donation or a Patreon membership keeps it maintained, tested and documented.
More ways to support, including cryptoBy donating, you agree to our donation terms.
Want this built into your product?
We integrate our packages into custom Laravel and AI builds. Tell us what you're working on and we'll reply within 48 hours.