laminas/laminas-mail
Abandoned Laminas component for composing, parsing, and sending email messages. No further development; use ddeboer/imap for IMAP, zbateson/mail-mime-parser for MIME parsing, and symfony/mailer for sending mail.
Adopt if:
Avoid if:
ddeboer/imap) or advanced templating (consider Laravel Notifications).For Executives: "We’re replacing our outdated email library with Laminas Mail to ensure reliable, standards-compliant email delivery—critical for user communications like password resets and receipts. This reduces support costs by eliminating bugs from legacy code (e.g., header injection) and integrates seamlessly with our SMTP providers. While the package is no longer maintained, it’s stable for our PHP 8.1+ stack and avoids vendor lock-in compared to alternatives like Symfony Mailer. The trade-off is minimal risk for significant technical debt reduction."
For Engineering: *"Laminas Mail gives us fine-grained control over MIME emails (e.g., multipart/alternative, attachments) with SMTP/XOAUTH2 support for cloud providers. Key benefits:
To: headers) out of the box.For Developers: *"This replaces our hacky email composition logic with a batteries-included solution:
TransportInterface for custom backends (e.g., Webhooks).
Action items:PHPMailer usage in favor of this package."*How can I help you explore Laravel packages today?