navin/exception-notifier
最新稳定版本:v0.0.1
Composer 安装命令:
composer require navin/exception-notifier
包简介
A beautiful, responsive exception email notification package for Laravel and Lumen applications
README 文档
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
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-19