naif / nova-login-monitor
Monitor Nova Login via Slack notifications, Receive a notification every time someone's login to your system.
Installs: 1 148
Dependents: 0
Suggesters: 0
Security: 0
Stars: 11
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: >=7.1.0
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
Support:
https://www.linkedin.com/in/naif
License
The MIT License (MIT). Please see License File for more information.