File: README.md

Recommend this page to a friend!
  Classes of Naif Alshaye  >  Nova PHP Server Monitor Login  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Nova PHP Server Monitor Login
Track users logging in your system via Slack
Author: By
Last change:
Date: 1 year ago
Size: 1,229 bytes
 

Contents

Class file image Download

Nova Login Monitor

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

<img src="https://github.com/naifalshaye/Nova-Login-Monitor/blob/master/screenshots/web.png" width="430"> <img src="https://github.com/naifalshaye/Nova-Login-Monitor/blob/master/screenshots/iphone.png" width="330">

Support:

naif@naif.io

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

License

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


For more information send a message to info at phpclasses dot org.