PHPackages                             itpathsolutions/authinfo - 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. itpathsolutions/authinfo

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

itpathsolutions/authinfo
========================

Auth information

1.0.18(1y ago)015MITPHPPHP ^8.0

Since Feb 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/vidhi-nirmal71/authinfo)[ Packagist](https://packagist.org/packages/itpathsolutions/authinfo)[ RSS](/packages/itpathsolutions-authinfo/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (2)Versions (17)Used By (0)

🛠️ Authinfo - User Login Tracker
================================

[](#️-authinfo---user-login-tracker)

The **Authinfo** package provides a powerful and lightweight solution for logging and monitoring user authentication activities within your Laravel application. It records successful login and logout attempts, capturing essential details such as user ID, username, IP address, user agent, login/logout time, device type, and location. This package is designed primarily for **admin use**, allowing administrators to track and audit user activity securely.

**⚠️ Security Warning**
-----------------------

[](#️-security-warning)

This package does not include any built-in security measures and is intended for admin use only. It exposes sensitive login user details, which could pose a security risk if accessed by unauthorized users. Ensure that this package is only used in a secure environment and not exposed to public or unauthorized access.

🏷️ [\#Authentication](https://packagist.org/search/?tags=authentication) [\#Security](https://packagist.org/search/?tags=security) [\#UserTracking](https://packagist.org/search/?tags=user-tracking) [\#Laravel](https://packagist.org/search/?tags=laravel) [\#PHP](https://packagist.org/search/?tags=php) [\#LoginMonitoring](https://packagist.org/search/?tags=login-monitoring) [\#SecurityAudit](https://packagist.org/search/?tags=security-audit) [\#ServerMonitoring](https://packagist.org/search/?tags=server-monitoring) [\#DevOps](https://packagist.org/search/?tags=devops) [\#AccessControl](https://packagist.org/search/?tags=access-control)

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

[](#documentation)

- [Features](#features)
- [Supported Versions](#supported-versions)
- [Installation](#installation)
    - [Commands](#commands)
        - [Vendor Publish](#vendor-publish)
        - [Migrate](#migrate)
- [Accessing Login Logs](#accessing-login-logs)
- [FAQs](#faqs)
- [Contributing](#contributing)
- [Security Vulnerabilities](#security-vulnerabilities)
- [License](#license)
- [Testing](#testing)
- [Support](#get-support)

**Features**
------------

[](#features)

- **Tracks successful logins and logouts** with essential details.
- **Logs user ID, username, and IP address** for each authentication event.
- **Stores data in a dedicated `login_logs` database table**.
- **Records user agent, login time, logout time, and device type**.
- **Captures user location** (based on IP address lookup).
- **Provides a built-in, responsive table UI** for admin users.
- **Includes pagination and search functionality** for easy record browsing.
- **Fully responsive design** for both desktop and mobile views.
- **Easy installation with vendor publish and migration commands**.
- **Supports Laravel 9, 10, and 11 with PHP 8+ compatibility**.
- **Allows filtering login records based on date range and user search**.
- **Lightweight and optimized for performance**.
- **Provides an audit trail for login/logout activity monitoring**.

**Supported Versions**
----------------------

[](#supported-versions)

- **PHP:** ^8.0
- **Illuminate Support:** ^9.0 | ^10.0 | ^11.0

**Installation**
----------------

[](#installation)

To install the package, open the terminal and run the following command:

```
composer require itpathsolutions/authinfo
```

### **Commands**

[](#commands)

#### **Vendor Publish**

[](#vendor-publish)

Run the following command to publish the package configuration and migration files:

```
php artisan vendor:publish --provider="Itpathsolutions\Authinfo\AuthInfoServiceProvider"
```

#### **Migrate**

[](#migrate)

Run the migration command to set up the necessary database tables:

```
php artisan migrate
```

### **Accessing Login Logs**

[](#accessing-login-logs)

Once installed, open the following URL in your browser to check the plugin:

```
localhost:8000/login-logs
```

This table provides a **searchable, paginated** view of login and logout records, including username, IP address, device type, location, and timestamps.

**FAQs**
--------

[](#faqs)

1. What does this package do?
-----------------------------

[](#1-what-does-this-package-do)

🚀 The **Authinfo** package logs and monitors user **login/logout** activities, capturing crucial details like **user ID, IP address, device type, timestamps**, and more. It provides admins with a **clear audit trail** of authentication events.

2. How do I install the package?
--------------------------------

[](#2-how-do-i-install-the-package)

📦 Installing is simple! Run the following command in your terminal:

```
composer require itpathsolutions/authinfo
```

3. Which Laravel versions are supported?
----------------------------------------

[](#3-which-laravel-versions-are-supported)

This package supports **Laravel 9, 10, and 11** with **PHP 8+** compatibility.

4. Where are login logs stored?
-------------------------------

[](#4-where-are-login-logs-stored)

📂 All login and logout events are stored in the **`login_logs`** table in your database.

5. How do I view login logs?
----------------------------

[](#5-how-do-i-view-login-logs)

You can access login logs via:
👉 `localhost:8000/login-logs`

6. How do I update the package to the latest version?
-----------------------------------------------------

[](#6-how-do-i-update-the-package-to-the-latest-version)

Run the following command to update:

```
composer update itpathsolutions/authinfo
```

7. Can I contribute to this package?
------------------------------------

[](#7-can-i-contribute-to-this-package)

🤝 Absolutely! Contributions are welcome. See the [CONTRIBUTING](https://github.com/vidhi-nirmal71/authinfo/blob/main/CONTRIBUTING.md) guidelines for details.

8. Where can I get support?
---------------------------

[](#8-where-can-i-get-support)

For any support or queries, contact us via [IT Path Solutions](https://www.itpathsolutions.com/contact-us/).

**Contributing**
----------------

[](#contributing)

We welcome contributions from the community! Feel free to **Fork** the repository and contribute to this module. You can also create a pull request, and we will merge your changes into the main branch. See [CONTRIBUTING](https://github.com/vidhi-nirmal71/authinfo/blob/main/CONTRIBUTING.md) for details.

**Security Vulnerabilities**
----------------------------

[](#security-vulnerabilities)

Please review our [Security Policy](https://github.com/vidhi-nirmal71/authinfo/security/policy) on how to report security vulnerabilities.

**License**
-----------

[](#license)

This package is open-source and available under the MIT License. See the [LICENSE](https://github.com/vidhi-nirmal71/authinfo/blob/main/LICENSE) file for details.

**Testing**
-----------

[](#testing)

To test this package, run the following command:

```
composer test
```

**Get Support**
---------------

[](#get-support)

- Feel free to [contact us](https://www.itpathsolutions.com/contact-us/) if you have any questions.
- If you find this project helpful, please give us a ⭐ [Star](https://github.com/vidhi-nirmal71/authinfo/stargazers).

**You may also find our other useful package:**
-----------------------------------------------

[](#you-may-also-find-our-other-useful-package)

[MySQL Info Package 🚀](https://packagist.org/packages/itpathsolutions/mysqlinfo)
[PHP Info Package 🚀](https://packagist.org/packages/itpathsolutions/phpinfo)
[Role Wise Session Manager Package 🚀](https://packagist.org/packages/itpathsolutions/role-wise-session-manager)
[Chatbot Package 🚀](https://packagist.org/packages/itpathsolutions/chatbot)
[Redis Info Package 🚀](https://packagist.org/packages/itpathsolutions/redisinfo)

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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 ~2 days

Recently: every ~8 days

Total

16

Last Release

517d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/125467384?v=4)[vidhi-nirmal71](/maintainers/vidhi-nirmal71)[@vidhi-nirmal71](https://github.com/vidhi-nirmal71)

---

Top Contributors

[![vidhi-nirmal71](https://avatars.githubusercontent.com/u/125467384?v=4)](https://github.com/vidhi-nirmal71 "vidhi-nirmal71 (21 commits)")

---

Tags

AuthenticationUser managementuser authenticationphp-securitysecure-authenticationlogin activitysession-managementphp-authauthinfoauth-logslogin-trackingauth-monitoringauth-debuggingauth-analyticsauthentication-logsfailed-login-attemptsuser-access-controlphp-login-systemmulti-factor-authoauth-logging

### Embed Badge

![Health badge](/badges/itpathsolutions-authinfo/health.svg)

```
[![Health](https://phpackages.com/badges/itpathsolutions-authinfo/health.svg)](https://phpackages.com/packages/itpathsolutions-authinfo)
```

###  Alternatives

[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

84511.6M67](/packages/php-open-source-saver-jwt-auth)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6796.8k7](/packages/hasinhayder-tyro)[hasinhayder/tyro-login

Tyro Login - Beautiful, customizable authentication views for Laravel 12 &amp; 13

2508.1k7](/packages/hasinhayder-tyro-login)[alajusticia/laravel-logins

Session management in Laravel apps, user notifications on new access, support for multiple separate remember tokens, IP geolocation, User-Agent parser

2115.6k](/packages/alajusticia-laravel-logins)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

265.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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