spatie/mailcoach
Self-hosted email marketing for Laravel: manage audiences, send campaigns with segmentation and A/B testing, track analytics, build automation workflows, and handle transactional emails—all in one Mailcoach app integrated with your project.
Mailcoach\Events\CampaignSent), enabling custom logic (e.g., analytics, third-party syncs) without modifying core package code..env. Transactional emails depend on this; marketing emails may use the same or separate drivers.contacts.email) and read replicas may be needed for large-scale use.campaigns, contacts) if scaling horizontally.Mail::send calls with Mailcoach’s API.spatie/laravel-activitylog may conflict if both are used; check compatibility.composer require spatie/mailcoach.php artisan vendor:publish --provider="Spatie\Mailcoach\MailcoachServiceProvider".php artisan migrate..env variables (e.g., MAILCOACH_QUEUE_CONNECTION=redis).campaigns, contacts, automations, email_logs.mailcoach queue jobs in Laravel logs (storage/logs/laravel.log).Mailcoach\Jobs\SendEmail failures).php artisan tinker → Mailcoach::sendCampaign(1).php artisan mailcoach:list to inspect campaigns.contacts table by created_at.Mailcoach::cacheContacts()) and campaign templates.Contact::chunkById()).| **Failure Scenario
How can I help you explore Laravel packages today?