pear/net_smtp
PEAR Net_SMTP is a PHP SMTP client for sending email through SMTP servers, with support for authentication, TLS/SSL connections, and common SMTP options. A lightweight legacy PEAR component for projects that need direct mail transport.
pear/net_smtp is commodity plumbing — a thin, socket-level SMTP client. Its low opportunity score (~1.18) confirms there is no product moat to capture here. The decision it supports is "compose, don't build": use a maintained transport rather than writing or owning SMTP protocol code.Mail facade already wraps). Any surviving usage is a migration item, not a roadmap investment. It helps you size and sequence a "get off PEAR Mail" initiative.Consider it when:
Mail, Mail_mime) and need a drop-in SMTP layer while the rest of the migration lands.Look elsewhere when:
Mail facade / Symfony Mailer. Adding net_smtp duplicates a transport you already have and splits configuration and observability.symfony/mime or an ESP API (SES, Postmark, SendGrid, Mailgun).For executives (one paragraph): pear/net_smtp is a small, permissively licensed, low-level SMTP client. It is competent plumbing but not strategic: it does not improve deliverability, doesn't add features customers can see, and sits in a corner of the PHP ecosystem that is in maintenance rather than growth. Our recommendation is not to adopt it for new Laravel work — Laravel already ships an SMTP transport via Symfony Mailer. Its legitimate role is as a short-lived bridge in legacy migrations and as a contained utility for internal mail diagnostics or bring-your-own-SMTP flows. Cost of adoption is low; cost of standardizing on it is a second, parallel mail path we'd have to configure, monitor, and eventually remove.
For engineering leads: Treat it as a swappable adapter, never a dependency spread across the codebase. Concretely: pin the version, wrap it behind our own SmtpTransportInterface, add integration tests against a disposable SMTP server, log connection outcomes as structured events, and set a review date tied to PHP version support. If we find ourselves customizing AUTH or TLS behaviour for production sending, that's a signal to move to the provider API instead. The honest summary: good tool for a narrow, temporary job; wrong foundation for the mail layer.
How can I help you explore Laravel packages today?