An easy helper to notify the admin or webmaster about general events using laravel notification system
An easy helper to notify the admin or webmaster about general events using Laravel's notification system.
Every so often an app can use a little monitoring, and often this is not to a Model (User) that is required int the app to exist.
This helper allows you to define main Notification “routes”, where a notification can be sent.
You can install the package via composer:
composer require proclame/laravel-notify-admin
You can (optionally) publish the config file with:
php artisan vendor:publish --provider="Proclame\LaravelNotifyAdmin\NotifyAdminServiceProvider"
This is the contents of the published config file:
You can add options for extra notification channels
return [ 'mail' => env('NOTIFY_ADMIN_MAIL'), 'telegram' => env('NOTIFY_ADMIN_TELEGRAM'), ];
The MIT License (MIT). Please see License File for more information.