PHPackages                             misaf/laravel-authify-log - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. misaf/laravel-authify-log

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

misaf/laravel-authify-log
=========================

A logging utility for user authentication activities in Laravel.

1.0.1(4mo ago)132MITPHPPHP ^8.3

Since Feb 4Pushed 4mo agoCompare

[ Source](https://github.com/misaf/laravel-authify-log)[ Packagist](https://packagist.org/packages/misaf/laravel-authify-log)[ RSS](/packages/misaf-laravel-authify-log/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (13)Versions (3)Used By (0)

Laravel Authify Log
===================

[](#laravel-authify-log)

**A logging utility for user authentication activities in Laravel.**

Features
--------

[](#features)

- Log all user authentication events (login, logout, failed attempts, password resets, etc.).
- Includes user metadata such as IP address, browser, and location.
- Supports [Blade Country Flags](https://github.com/stijnvanouplines/blade-country-flags) to display user origin.
- Easy to integrate into any Laravel 10+ application.
- Fully configurable via Laravel service provider.
- Built with [Spatie Laravel Package Tools](https://spatie.be/docs/laravel-package-tools) for easy package management.

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

[](#requirements)

- PHP ^8.3
- Laravel 10+
- Dependencies:
    - `stijnvanouplines/blade-country-flags ^1.0.6`
    - `spatie/laravel-package-tools ^1.92.4`

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

[](#installation)

Install via Composer:

```
composer require misaf/laravel-authify-log
Usage
Publish the service provider (optional for customization):

bash
Copy code
php artisan vendor:publish --provider="Misaf\LaravelAuthifyLog\Providers\AuthifyLogServiceProvider"
Log authentication events automatically:

The package hooks into Laravel’s authentication events by default:

Login → Logged automatically

Logout → Logged automatically

Failed login attempts → Logged automatically

Password resets → Logged automatically

Optional: Display user location with flags:

In Blade views, you can use country flags:

blade
Copy code
@countryFlag($user->country_code)
Database Factories & Seeders:

You can use the included factories and seeders for testing:

bash
Copy code
php artisan db:seed --class=Misaf\\AuthifyLog\\Database\\Seeders\\AuthifyLogSeeder
Testing
If you have tests in the tests/ folder, run them using:

bash
Copy code
composer test
(You may need Pest or PHPUnit configured depending on your setup.)

Contributing
Contributions, issues, and feature requests are welcome!
Feel free to fork the repository and submit pull requests.

License
This package is open-sourced under the MIT license.
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance75

Regular maintenance activity

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~1 days

Total

2

Last Release

137d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/41fd7351d25e29dafa18068d0418eecf6bb47a7473aabe6bc674b4ca35e71805?d=identicon)[misaf](/maintainers/misaf)

---

Top Contributors

[![misaf](https://avatars.githubusercontent.com/u/8195685?v=4)](https://github.com/misaf "misaf (17 commits)")

---

Tags

loglaravelauthify

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/misaf-laravel-authify-log/health.svg)

```
[![Health](https://phpackages.com/badges/misaf-laravel-authify-log/health.svg)](https://phpackages.com/packages/misaf-laravel-authify-log)
```

###  Alternatives

[spatie/laravel-activitylog

A very simple activity logger to monitor the users of your website or application

5.8k50.2M434](/packages/spatie-laravel-activitylog)[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k122.6M185](/packages/sentry-sentry-laravel)[spatie/laravel-health

Monitor the health of a Laravel application

87411.3M152](/packages/spatie-laravel-health)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

299571.0k1](/packages/larabug-larabug)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

419662.2k5](/packages/yadahan-laravel-authentication-log)[masterro/laravel-mail-viewer

Easily view in browser outgoing emails.

64102.9k](/packages/masterro-laravel-mail-viewer)

PHPackages © 2026

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