spatie/laravel-mailcoach-sendinblue-feedback
Addon for spatie/laravel-mailcoach that processes Sendinblue campaign feedback (bounces, complaints, etc.) so Mailcoach can automatically handle delivery events and keep subscriber status and stats in sync.
spatie/laravel-mailcoach, leveraging Sendinblue’s webhook feedback system. It fits seamlessly into Laravel’s event-driven architecture, particularly if the application already uses Mailcoach for email campaigns.spatie/laravel-mailcoach (v2.x+) as a dependency.campaigns, subscribers, and feedback tables).spatie/laravel-mailcoach?
.env).mailcoach:process-feedback job).spatie/laravel-mailcoach (if not already present).composer require spatie/laravel-mailcoach-sendinblue-feedback
php artisan vendor:publish --provider="Spatie\MailcoachSendinblueFeedback\MailcoachSendinblueFeedbackServiceProvider"
routes/web.php (or API routes if using Laravel 10+).php artisan migrate (if Mailcoach’s schema isn’t already up to date).FeedbackProcessed event is subscribed to (package handles this automatically).failed_jobs table).log() or a dedicated table) for webhook failures.queue:failed command can help diagnose processing issues.DB::statement for bulk feedback).queue:work).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Sendinblue webhook outage | Lost feedback data | Fallback to polling Sendinblue’s API. |
| Laravel queue worker crashes | Delayed feedback processing | Supervisor/queue monitoring + retries. |
| Database connection issues | Failed feedback storage | Queue job timeouts + dead-letter queue. |
| Malformed webhook payload | Application errors | Validate payloads early (e.g., Laravel middleware). |
| Mailcoach schema changes | Package incompatibility | Test updates in staging before production. |
FeedbackProcessed).Http::fake() to simulate webhook calls.How can I help you explore Laravel packages today?