therobfonz/laravel-mandrill-driver
A Laravel mail driver for Mandrill. Use it as a mail transport to send transactional email through Mandrill's API, integrating cleanly with Laravel's Mail facade, mailables, and queued mail without extra boilerplate.
Architecture fit
luisdalmolin/laravel-mandrill-driver is a community mail transport that plugs into Laravel's native Mail subsystem. It registers via package auto-discovery, binds a Mandrill-backed transport into the MailManager, and is consumed through the standard Mail facade, Mailable classes, notifications, and queued mail — no application-level code changes are required beyond configuration. Credentials live in config/services.php (Mandrill secret/API key). This is a clean fit for any Laravel app already standardized on the framework's mailer abstraction.
Integration feasibility
Low effort: composer require luisdalmolin/laravel-mandrill-driver, set MAIL_MAILER=mandrill, add MANDRILL_SECRET, and verify the sending domain in Mandrill (SPF/DKIM). Typical effort is 1–2 engineer-days including staging validation. The 6.2.0 release is a minor, non-breaking update: PR #51 adds Laravel 13.x compatibility, and PR #53 is a test-only correction of an expected Mandrill API version. Neither changes the public API or configuration surface.
Technical risk
mandrill/mandrill PHP SDK, which is legacy and infrequently released; PHP-version compatibility should be confirmed.Key questions
composer.json declare?mandrill/mandrill SDK on our PHP version?Stack fit
Fits Laravel 10–13 applications using the built-in Mail facade. Existing Mailable and notification classes are unchanged; only the mailer transport switches. Requires a Mandrill account, an API key, and a verified/authenticated sending domain.
Migration path
composer.json.mandrill.secret to config/services.php sourced from an environment variable.MAIL_MAILER=mandrill per environment; retain an SMTP mailer as a fallback.Compatibility
Validate PHP, Laravel, and Symfony Mailer constraints with composer why-not before upgrading. If we are not on Laravel 13, 6.1.x remains viable and lower-risk; if we are planning a Laravel 13 upgrade, 6.2.0 should be the target. Confirm the mandrill/mandrill SDK resolves cleanly under our PHP runtime.
Sequencing Dev → staging with a real (non-production) Mandrill key → validate delivery, headers, attachments, tags, and queued sending → limited production canary → full cutover. Keep the mailer selection environment-driven so rollback is a config change, not a deploy.
Maintenance Small code surface and infrequent releases; maintenance is mostly tracking Laravel major versions and the upstream SDK. Pin with a caret constraint and commit the lock file; review release notes before minor bumps.
Support Community-maintained with no vendor SLA. Escalation for deliverability, quotas, and API behavior goes to Mandrill/Mailchimp support; escalation for driver bugs goes to the upstream repository. Document this split for on-call.
Scaling
Sending is API-based and bounded by the Mandrill plan's rate limits and quota. Queue transactional mail (ShouldQueue) and apply throttling for bulk sends. Confirm whether the driver exposes Mandrill's batch/send-at capabilities, since that affects throughput design.
Failure modes
MAIL_MAILER → mail silently routes to log/SMTP instead of Mandrill.Ramp-up Low for Laravel developers — configuration follows standard mailer patterns. The non-trivial learning is operational: domain authentication, deliverability monitoring, and bounce/complaint handling with Mandrill.
How can I help you explore Laravel packages today?