{"repo":"kevincobain2000/laravel-alert-notifications","free":true,"listed":false,"github":"https://github.com/kevincobain2000/laravel-alert-notifications","clone":"git clone https://github.com/kevincobain2000/laravel-alert-notifications.git","description":"Send alert to email, microsoft teams from laravel app, when an exception occurs. Throttle is enabled by default.","language":"PHP","stars":28,"topics":["laravel","alerts","monitoring","email","slack","microsoft-teams","throttle"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Laravel Alert Notifcations Send php exceptions to email, microsoft teams, slack. Notifications are throttle enabled so devs don't get a lot of emails from one host (or all hosts if cache driver is shared). Channels Progress :------- :-------- Email Supported Microsoft Teams Supported Slack Supported Pager Duty Supported Installation If you're using Laravel 5.5+ let the package auto discovery make this for you. Tests Publish (Laravel) Publish (Lumen) Since Lumen doesn't support auto-discovery, move config and view files to the destination directories manually and add the following to bootstrap/app.php: .env Usage In app/Exceptions/Handler.php . It is better to use a try catch to prevent loop. Config config/env key purpose :---------------------------- :-------------------------------------------------------------------------------- throttle enabled (default true) If false then library will send alerts without any throttling throttle duration minutes (default 5 mins) If an exception has been notified This will next notify after 5 mins when same exception occurs cache prefix This is a prefix for cache key. Your cache key will look like laravel-alert-notifications-ExceptionClass-ExceptionCode ALERT NOTIFICATION CURL PROXY If your slack/MS teams require proxy, then set it up accordingly default notification level Default notification level exclude notification levels Do not send notification if it is of one of the listed level mail E-mail config array: mail.enabled (default true),","default_branch":null,"files":null,"tree":[],"storefront":"/r/kevincobain2000","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kevincobain2000/laravel-alert-notifications/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}