naif/nova-login-monitor

Monitor Nova Login via Slack notifications, Receive a notification every time someone's login to your system.

dev-master 2019-01-12 10:50 UTC

This package is not auto-updated.

Last update: 2024-05-26 18:05:26 UTC


README

Monitor Nova Login via Slack notifications, Receive a notification every time someone's login to your system.

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require naif/nova-login-monitor

Configuration

Publish the package config file:

php artisan vendor:publish --provider="Naif\NovaLoginMonitor\CardServiceProvider"

Configuration will be published at [config/nova-login-monitor.php].

Add your Slack app's Incoming Webhook to your .env and .env.example:

SLACK_HOOK=https://hooks.slack.com/services/######//######//###########

Create your app and generate Webhook from https://api.slack.com/apps

Usage:

Add the below to app/Providers/NovaServiceProvider.php in "cards" function

new NovaLoginMonitor()

Screenshots

web.png

iphone.png

Support:

naif@naif.io

https://www.linkedin.com/in/naif

License

The MIT License (MIT). Please see License File for more information.