expertcoder/swiftmailer-send-grid-bundle
Symfony bundle that adds a SendGrid transport for SwiftMailer, letting you send mail through SendGrid's PHP library. Configure your API key and optional categories, then set the swiftmailer transport to expertcoder_swift_mailer.send_grid. Works with Symfony Flex and older applications.
swiftmailer: transport: expertcoder_swift_mailer.send_grid) plus an API key in .env. That lets a PM sequence "get on SendGrid" ahead of "modernize the mail layer," rather than blocking one on the other.Swift_Transport against the SendGrid SDK. This is a thin MIT-licensed adapter, so "borrow" is defensible on a time-boxed basis — provided someone owns the fork.expert_coder_swiftmailer_send_grid.yaml enable segmentation and per-notification analytics, which is enough to support basic product reporting and routing decisions.Consider it when:
Look elsewhere when:
symfony/mailer with the first-party symfony/sendgrid-mailer bridge, or SendGrid SMTP (smtp.sendgrid.net:587, user apikey) which needs no new dependency at all.For executives: This is a small, free (MIT), open-source adapter that unblocks moving our transactional email to SendGrid in days rather than weeks, without touching product code, and the change is reversible through configuration. Two caveats worth stating plainly: it is a Symfony bundle, so it delivers nothing to a Laravel codebase; and it sits on SwiftMailer, which the PHP community has retired, with no release since 2019. My recommendation is to approve it as a temporary bridge with an assigned owner and a decommission date, paired with a funded plan to move to Symfony's maintained mailer and SendGrid bridge. It buys us a quarter or two of speed — not a long-term foundation.
For engineering: Treat this as vendored code, not a trusted dependency. Pin it; review the adapter against the SendGrid SDK version it pins; confirm coverage for our actual use cases (attachments, categories, multipart ordering per RFC 1341, error handling); and add an integration test around the transport. Wire the API key through environment variables and categories through bundle config so provider changes stay operational rather than code changes. Before anything else, verify Composer constraints — if its symfony/*, swiftmailer/swiftmailer, or sendgrid/sendgrid ranges conflict with our lockfile, the evaluation ends there. Compare honestly against the two cheaper options first: SendGrid SMTP (near-zero effort) and symfony/sendgrid-mailer (supported, gives API delivery, templates, and categories). Then track the Symfony Mailer migration as explicit debt with a ticket and an owner.
Bottom line: the right tool for a narrow, time-boxed job in a legacy Symfony/SwiftMailer app — the wrong tool for anything new, and not a Laravel package at all. Approve it as a bridge, not a destination.
How can I help you explore Laravel packages today?