PHPackages                             drewlabs/envoyer-smtp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. drewlabs/envoyer-smtp

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

drewlabs/envoyer-smtp
=====================

SMTP drivers for envoyer client library

v0.2.2(1y ago)079MITPHPPHP &gt;=7.0

Since Jun 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/azlabsphp/envoyer-smtp)[ Packagist](https://packagist.org/packages/drewlabs/envoyer-smtp)[ RSS](/packages/drewlabs-envoyer-smtp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

Envoyer SMTP Drivers
====================

[](#envoyer-smtp-drivers)

SMTP drivers provide implementations of `drewlabs/envoyer` driver or client interface that uses smtp protocol internally to send text message to send email messages.

Usage
-----

[](#usage)

```
use Drewlabs\Envoyer\Drivers\Smtp\SymfonyMailerAdapter;
use Drewlabs\Envoyer\Mail;
use Drewlabs\Envoyer\SMTPServer;

$config = require  __DIR__ . '/contents/config.php';

// Create mail instance
$mail = Mail::new()
    ->from($config['email'])
    ->to('azandrewdevelopper@gmail.com')
    ->subject('No Attachment Registration')
    ->content(require __DIR__ . '/contents/mail.php');

// Create SMTP server configuration object
$smtpServer = new SMTPServer($config['host'], $config['port'], $config['user'], $config['password']);

// Create Symfony mailer object
$adapter = new SymfonyMailerAdapter($smtpServer->withEncryption('tls'));

// Send mail request
$result = $adapter->sendRequest($mail);
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

696d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/48c4973d500c7f4233d5ceacab51a57208d5fb60b0f95ae60264cf92380d0534?d=identicon)[azandrew-sidoine](/maintainers/azandrew-sidoine)

---

Top Contributors

[![azandrew-sidoine](https://avatars.githubusercontent.com/u/23530515?v=4)](https://github.com/azandrew-sidoine "azandrew-sidoine (9 commits)")

---

Tags

smtpenvoyer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/drewlabs-envoyer-smtp/health.svg)

```
[![Health](https://phpackages.com/badges/drewlabs-envoyer-smtp/health.svg)](https://phpackages.com/packages/drewlabs-envoyer-smtp)
```

###  Alternatives

[nette/mail

📧 Nette Mail: A handy library for creating and sending emails in PHP.

5389.8M246](/packages/nette-mail)[mageplaza/module-smtp

SMTP Extension for Magento 2 helps the owner of store simply install SMTP (Simple Mail Transfer Protocol) server which transmits the messages into codes or numbers

3015.9M8](/packages/mageplaza-module-smtp)[jason-munro/cypht

Lightweight Open Source webmail written in PHP and JavaScript

1.5k146.0k](/packages/jason-munro-cypht)[zytzagoo/smtp-validate-email

Perform email address verification via SMTP

452909.9k3](/packages/zytzagoo-smtp-validate-email)[aplus/email

Aplus Framework Email Library

2461.6M3](/packages/aplus-email)[sendgrid/smtpapi

Build SendGrid X-SMTPAPI headers in PHP.

696.5M2](/packages/sendgrid-smtpapi)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
