PHPackages                             eom-plus/nova-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. eom-plus/nova-idle

ActiveLibrary

eom-plus/nova-idle
==================

A Laravel Nova 4 tool to detect idle/non active user, notice and auto logout

v1.0.0(1y ago)12.9k↓45.5%MITVuePHP ^7.3|^8.0

Since Nov 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/operativeit/nova-idle)[ Packagist](https://packagist.org/packages/eom-plus/nova-idle)[ RSS](/packages/eom-plus-nova-idle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

nova-idle
=========

[](#nova-idle)

Nova 4 package to detect idle/non active user, notice and autologout

[![imagen](https://private-user-images.githubusercontent.com/188766/367879269-c05c580f-6121-49cf-9b13-9f7396d641bd.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ3NDUzMjcsIm5iZiI6MTc3NDc0NTAyNywicGF0aCI6Ii8xODg3NjYvMzY3ODc5MjY5LWMwNWM1ODBmLTYxMjEtNDljZi05YjEzLTlmNzM5NmQ2NDFiZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMzI5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDMyOVQwMDQzNDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zY2I5OGYyMThmODdmMTU0M2U1YmMxMWIwOGE0ZDNkMmZhOTMzNzBjMmQ0MGRhNTA3NDBhZjNhYzM5OTA3NTgxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.iU2fnDfGgsyH71XZwxhAJbsTLIICpoq0sndgDafasrA)](https://private-user-images.githubusercontent.com/188766/367879269-c05c580f-6121-49cf-9b13-9f7396d641bd.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ3NDUzMjcsIm5iZiI6MTc3NDc0NTAyNywicGF0aCI6Ii8xODg3NjYvMzY3ODc5MjY5LWMwNWM1ODBmLTYxMjEtNDljZi05YjEzLTlmNzM5NmQ2NDFiZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMzI5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDMyOVQwMDQzNDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zY2I5OGYyMThmODdmMTU0M2U1YmMxMWIwOGE0ZDNkMmZhOTMzNzBjMmQ0MGRhNTA3NDBhZjNhYzM5OTA3NTgxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.iU2fnDfGgsyH71XZwxhAJbsTLIICpoq0sndgDafasrA)

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

[](#installation)

You can install the nova tool in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```
composer require eom-plus/nova-idle
```

Next up, you must register the tool with Nova. This is typically done in the `tools` method of the `NovaServiceProvider`.

```
// in app/Providers/NovaServiceProvider.php

// ...

public function tools()
{
    return [
        // ...
        new \EomPlus\NovaIdle\NovaIdle(),
    ];
}
```

Configuration
-------------

[](#configuration)

Usage
-----

[](#usage)

When you register this package it's automatically injected to nova.

Configuration
-------------

[](#configuration-1)

To be able to config timers, you must publish config file

```
php artisan vendor:publish --provider="EomPlus\NovaIdle\ToolServiceProvider" --tag=config

```

You must tune 'duration' and 'reminders' values. By default we start detect idle during 5mn and show dialog when remain 60 seconds.

```
