navin/exception-notifier

A beautiful, responsive exception email notification package for Laravel and Lumen applications

Maintainers

Package info

github.com/Navinchinnasamy/exception-notifier

Homepage

Issues

pkg:composer/navin/exception-notifier

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

v0.0.1 2026-01-19 17:34 UTC

This package is auto-updated.

Last update: 2026-03-01 17:58:13 UTC


README

A Laravel/Lumen package for sending email notifications when exceptions occur in your application.

Features

  • 📧 Email notifications for exceptions
  • 🔄 Exception grouping to prevent spam
  • ⏱️ Rate limiting
  • 🎨 Beautiful HTML email templates
  • 🔧 Configurable for different environments
  • 📱 Mobile-friendly email design

Installation

composer require navin/exception-notifier

Configuration

Add to your .env file:

EXCEPTION_NOTIFIER_ENABLED=true
EXCEPTION_NOTIFIER_TO=admin@example.com
EXCEPTION_NOTIFIER_FROM=no-reply@example.com
EXCEPTION_NOTIFIER_FROM_NAME="Exception Notifier"
EXCEPTION_NOTIFIER_GROUPING=true
APP_NAME=YourAppName

Usage

Register Exception Handler

In your app/Exceptions/Handler.php:

public function report(Exception $exception)
{
    if (app()->bound('exception.notifier')) {
        app('exception.notifier')->send($exception, request());
    }
    
    parent::report($exception);
}

Test Configuration

php artisan exception-notifier:test

License

MIT License