navin / exception-notifier
A beautiful, responsive exception email notification package for Laravel and Lumen applications
v0.0.1
2026-01-19 17:34 UTC
Requires
- php: ^7.1|^8.0
- illuminate/mail: ^5.3|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
- illuminate/support: ^5.3|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
- nesbot/carbon: ^1.0|^2.0|^3.0
Suggests
- swiftmailer/swiftmailer: Required for Laravel/Lumen 5.3-5.8 compatibility
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