kevincobain2000/laravel-alert-notifications
App\Exceptions\Handler), making it a natural fit for monitoring and alerting on uncaught exceptions. It leverages Laravel’s built-in render() and report() methods, ensuring minimal disruption to existing workflows.Notification facade, aligning with modern observability practices. This modularity allows for easy extension to other channels (e.g., Discord, Webhooks) if needed.vendor:publish workflow, requiring minimal manual configuration. The package’s design assumes familiarity with Laravel’s service providers and config publishing, reducing onboarding complexity.AlertNotificationsServiceProvider to exclude specific exceptions (e.g., HttpException for expected 4xx/5xx responses).ToAlertNotification class to modify alert content (e.g., add stack traces, user context, or custom metadata).AlertNotificationChannel for custom delivery logic (e.g., formatting for PagerDuty vs. Slack).spatie/laravel-webhooks for custom channels). Assumes channels are already configured.App\Exceptions\Handler) to identify gaps (e.g., missing report() calls).vendor:publish).config/laravel_alert_notifications.php and test with a forced exception (e.g., throw new \Exception("Test");).ToAlertNotification to customize payloads (e.g., add request context for API errors).guzzlehttp/guzzle (included via Laravel) and valid webhook URLs.pagerduty/pagerduty-php-library (not auto-installed; may need manual composer require).ExceptionHandler is properly extended.composer require kevincobain2000/laravel-alert-notifications.php artisan vendor:publish --provider="Kevincobain2000\LaravelAlertNotifications\AlertNotificationsServiceProvider".php artisan config:cache (for production).enabled to true in config/laravel_alert_notifications.php.Exception, QueryException, HttpException).try-catch blocks in channel handlers).config/laravel_alert_notifications.php, which is version-controlled. Changes must be manually synced across environments (e.g., via deployment scripts).ToAlertNotification, channel classes) must be maintained alongside the package. Document these extensions in your codebase.config/laravel_alert_notifications.php for enabled: false, or verify exceptions are being reported (e.g., via report() in Handler).failed queue for retries.cache:tagsHow can I help you explore Laravel packages today?