PHPackages                             akira/laravel-auth-logs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. akira/laravel-auth-logs

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

akira/laravel-auth-logs
=======================

Track, query, and act on authentication activity in your Laravel application. Automatically records successful and failed sign-ins, with optional notifications and geolocation context.

1.1.0(2mo ago)62.3k↓28.6%[1 PRs](https://github.com/akira-io/laravel-auth-logs/pulls)MITPHPPHP ^8.4CI passing

Since May 24Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/akira-io/laravel-auth-logs)[ Packagist](https://packagist.org/packages/akira/laravel-auth-logs)[ Docs](https://github.com/akira-io/laravel-auth-logs)[ GitHub Sponsors](https://github.com/Akira)[ RSS](/packages/akira-laravel-auth-logs/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (5)Dependencies (16)Versions (8)Used By (0)

Laravel Authentication Logs
===========================

[](#laravel-authentication-logs)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b815bf38700a49638edb842cb1fd7ae21e1eb3efc3f39153e0472b306729028a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616b6972612f6c61726176656c2d617574682d6c6f67732e737667)](https://packagist.org/packages/akira/laravel-auth-logs)[![Total Downloads](https://camo.githubusercontent.com/3d380de06cc80bc702aa922452737b7d05bd363739089a245b078bca1167c9c7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616b6972612f6c61726176656c2d617574682d6c6f67732e737667)](https://packagist.org/packages/akira/laravel-auth-logs)[![PHPStan Level](https://camo.githubusercontent.com/3eef5bfb737c3eb8f74ff340fd46dc7a1cc6a5af7e425296fcec68a1ad6f5ad9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068707374616e2d6c6576656c253230392d627269676874677265656e2e737667)](https://phpstan.org)[![License](https://camo.githubusercontent.com/c68c37815ad447030c0c34eed54ec4dc8a0c4e1c80eb62d9a2f920619305c696/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616b6972612f6c61726176656c2d617574682d6c6f67732e737667)](https://github.com/akira-io/laravel-auth-logs/blob/main/LICENSE)[![img.png](img.png)](img.png)

This package logs all authentication events in your Laravel application. It logs the following events: - Login
- Logout
- Failed login

Features
--------

[](#features)

- Logs all authentication events
- Notification on failed login
- Notification on new device login

Requirements
------------

[](#requirements)

- PHP 8.4 or higher
- Laravel 12.0 or higher

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require akira/laravel-auth-logs
```

and then run the install command:

```
php artisan auth-logs:install
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="laravel-auth-logs-views"
```

Usage
-----

[](#usage)

To use the package all you need to do is add the `AuthLogs` trait to your `User` model.

Documentation
-------------

[](#documentation)

Full documentation is available in this repository under `docs/`:

- Quick start: docs/README.md
- Installation: docs/installation.md
- Usage: docs/usage.md

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [kid](https://github.com/akira-io)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance87

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~55 days

Recently: every ~37 days

Total

6

Last Release

82d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c42e59ca0b3864a382dc0c3e290f8cf7d75bbe3eab10a3af0f71d5785f89d0bc?d=identicon)[kidiatoliny](/maintainers/kidiatoliny)

---

Top Contributors

[![kidiatoliny](https://avatars.githubusercontent.com/u/48266788?v=4)](https://github.com/kidiatoliny "kidiatoliny (75 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")

---

Tags

laravelakiralaravel-auth-logs

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/akira-laravel-auth-logs/health.svg)

```
[![Health](https://phpackages.com/badges/akira-laravel-auth-logs/health.svg)](https://phpackages.com/packages/akira-laravel-auth-logs)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k89.8M1.0k](/packages/spatie-laravel-permission)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[jeffgreco13/filament-breezy

A custom package for Filament with login flow, profile and teams support.

1.0k1.7M41](/packages/jeffgreco13-filament-breezy)[spatie/laravel-login-link

Quickly login to your local environment

4381.2M1](/packages/spatie-laravel-login-link)[ryangjchandler/laravel-cloudflare-turnstile

A simple package to help integrate Cloudflare Turnstile.

438896.6k2](/packages/ryangjchandler-laravel-cloudflare-turnstile)[spatie/laravel-passkeys

Use passkeys in your Laravel app

444494.4k16](/packages/spatie-laravel-passkeys)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
