PHPackages                             masuresh124/auth-idle - 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. masuresh124/auth-idle

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

masuresh124/auth-idle
=====================

This package is used to track the auth activity is idle

1.0.4(4mo ago)132MITPHPPHP &gt;=7.1.0

Since Jan 7Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/masuresh124/auth-idle)[ Packagist](https://packagist.org/packages/masuresh124/auth-idle)[ Docs](https://github.com/masuresh124/auth-idle)[ RSS](/packages/masuresh124-auth-idle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

Laravel Auth Idle Activity
==========================

[](#laravel-auth-idle-activity)

This plugin offer an intuitive, user-friendly script where users can easily capture the session idle activitity of a user

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

[](#installation)

Install laravel auth idle component with the composer

```
 composer require masuresh124/auth-idle
```

Run the following command to publish the service provider

```
  php artisan vendor:publish --provider="Masuresh124\AuthIdle\Providers\AuthIdleProvider"
```

Add the following code in config\\app.php

```
 return [
  .
  .
  .
'providers'   =>[
  .
  .
  Masuresh124\AuthIdle\Providers\AuthIdleProvider::class
]
  ];
```

In `app\Http\Kernel.php` add the following middleware

```
     protected $routeMiddleware = [
        .
        .
        'auth-idle'      => \Masuresh124\AuthIdle\Http\Middleware\AuthIdleMiddleware::class,
    ];
```

In `routes/web.php` add the following middleware for routes

```
  Auth::routes();

  Route::middleware(['auth', 'auth-idle'])->group(function () {
    Route::get('/dashboard', [App\Http\Controllers\HomeController::class, 'index'])->name('dashboard');
});
```

Updating
--------

[](#updating)

If the package is already installed and you are trying to update it to the latest version, please follow the instructions below:

- Take a backup of the existing config file located at app/config/auth-idle.php.
- Run the following commands:

**Note: The commands below will replace the existing config file with the new one. After that, compare the new config file with your backup and add any missing values as needed.**

```
  composer require masuresh124/auth-idle
  php artisan vendor:publish --provider="Masuresh124\AuthIdle\Providers\AuthIdleProvider"  --tag="config-auth-idle" --force
```

Badges
------

[](#badges)

[![MIT License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](https://choosealicense.com/licenses/mit/)

Authors
-------

[](#authors)

- [@Suresh M A](https://github.com/masuresh124)

Features
--------

[](#features)

- Capture the user idle activity
- Can add custom time
- Add custom conditions

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance80

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 71.4% 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 ~87 days

Total

5

Last Release

136d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/21d9c27908dc70916b8445423695a57fcf58a8293d95f9e485833a990dc8f671?d=identicon)[masuresh124](/maintainers/masuresh124)

---

Top Contributors

[![sureshaigs](https://avatars.githubusercontent.com/u/176040993?v=4)](https://github.com/sureshaigs "sureshaigs (5 commits)")[![masuresh124](https://avatars.githubusercontent.com/u/153027904?v=4)](https://github.com/masuresh124 "masuresh124 (2 commits)")

### Embed Badge

![Health badge](/badges/masuresh124-auth-idle/health.svg)

```
[![Health](https://phpackages.com/badges/masuresh124-auth-idle/health.svg)](https://phpackages.com/packages/masuresh124-auth-idle)
```

###  Alternatives

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[santigarcor/laratrust

This package provides a flexible way to add Role-based Permissions to Laravel

2.3k5.4M42](/packages/santigarcor-laratrust)[overtrue/laravel-follow

User follow unfollow system for Laravel.

1.2k404.7k5](/packages/overtrue-laravel-follow)[codegreencreative/laravel-samlidp

Make your PHP Laravel application an Identification Provider using SAML 2.0. This package allows you to implement your own Identification Provider (idP) using the SAML 2.0 standard to be used with supporting SAML 2.0 Service Providers (SP).

263763.5k1](/packages/codegreencreative-laravel-samlidp)

PHPackages © 2026

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