pear/mail
PEAR Mail is a PHP library for composing and sending email via Mail(), SMTP, or sendmail. It provides a common interface for transports, supports headers and attachments, and integrates with PEAR for quick setup in legacy and modern PHP projects.
Illuminate/Mail or symfony/mailer instead).Executives:
"This package is a legacy holdout with a single minor bugfix (CRLF headers) that only matters if we’re still using sendmail—a relic from the 2000s. Adopting it would lock us into outdated tech, increase maintenance costs, and block future innovation. Laravel’s native mailer is enterprise-grade, secure, and fully supported—we should invest in modernizing rather than doubling down on PEAR. If we must use this, we’ll isolate it behind a wrapper to minimize risk."
Engineering:
"The v2.0.0 release fixes a niche sendmail header issue, but this package is not Laravel-compatible and lacks modern email features. Our current stack (Symfony Mailer) is actively maintained, integrates with queues, and supports async—this package would add technical debt and complicate deployments. Recommendation: Use Laravel’s native mailer or Symfony Mailer for new work. If forced to use this, we’ll need to abstract it away to prevent conflicts with Composer and future-proof the codebase."
How can I help you explore Laravel packages today?