Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
scramatte authored Nov 24, 2024
1 parent e8c8d22 commit 71ead49
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,33 @@ Nova 4 package to detect idle/non active user, notice and autologout

## Installation

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

## Usage
```bash
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`.

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

// ...

When you install this package it's automatically injected to nova.
public function tools()
{
return [
// ...
new \EomPlus\NovaIdle\NovaIdle(),
];
}
```

## Configuration

## Usage

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

## Configuration

Expand Down

0 comments on commit 71ead49

Please sign in to comment.