PHPackages                             harmonyio/smtp-client - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. harmonyio/smtp-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

harmonyio/smtp-client
=====================

Asynchronous SMPT client

v0.0.2(7y ago)372[5 issues](https://github.com/HarmonyIO/Smtp-Client/issues)MITPHPPHP ^7.3

Since Jan 10Pushed 7y ago1 watchersCompare

[ Source](https://github.com/HarmonyIO/Smtp-Client)[ Packagist](https://packagist.org/packages/harmonyio/smtp-client)[ RSS](/packages/harmonyio-smtp-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (8)Versions (3)Used By (0)

Smtp-Client
===========

[](#smtp-client)

[![Latest Stable Version](https://camo.githubusercontent.com/ebe86f59d9025b0d6edad690cc301f1bc9834f06f3343955be3366371d6d2bb0/68747470733a2f2f706f7365722e707567782e6f72672f6861726d6f6e79696f2f736d74702d636c69656e742f762f737461626c65)](https://packagist.org/packages/harmonyio/smtp-client)[![Build Status](https://camo.githubusercontent.com/3444ff30032519d030e0932b75c2b968551cd0aaf51a6aaec058d054b4ee049c/68747470733a2f2f7472617669732d63692e6f72672f4861726d6f6e79494f2f536d74702d436c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/HarmonyIO/Smtp-Client)[![Build status](https://camo.githubusercontent.com/2476fe2086371b7cc43516f8d21829d652baa94567f4e9d8a0bf979bc4b9e00f/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f72387366706d30323537616e366f34372f6272616e63682f6d61737465723f7376673d74727565)](https://ci.appveyor.com/project/PeeHaa/smtp-client/branch/master)[![Coverage Status](https://camo.githubusercontent.com/a028d965f1185972d2259cf2d0bd78f85ed73545782dbc66c5dbad76620e189c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4861726d6f6e79494f2f536d74702d436c69656e742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/HarmonyIO/Smtp-Client?branch=master)[![License](https://camo.githubusercontent.com/298eb3f7b9cba3e69fbea462a6bd06ecc8af781077e7a91af99251e7b9dbb0a0/68747470733a2f2f706f7365722e707567782e6f72672f6861726d6f6e79696f2f736d74702d636c69656e742f6c6963656e7365)](https://packagist.org/packages/harmonyio/smtp-client)

Async SMTP client

Requirements

- PHP 7.3
    - ext-hash
    - ext-json

In addition for non-blocking contexts one of the following event libraries should be installed:

- [ev](https://pecl.php.net/package/ev)
- [event](https://pecl.php.net/package/event)
- [php-uv](https://github.com/bwoebi/php-uv)

Installation
------------

[](#installation)

```
composer require harmonyio/smtp-client

```

Implementation
--------------

[](#implementation)

### Authentication

[](#authentication)

The following authentication methods are currently implemented:

- `PLAIN`
- `LOGIN`
- `CRAM-MD5`

### SMTP Extensions

[](#smtp-extensions)

The following SMTP extensions are currently implemented:

- Authentication (`AUTH`)
- MessageSizeDeclaration (`SIZE`)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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 ~3 days

Total

2

Last Release

2676d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce6ea4ee501375bd1be563f6deed94e889d57d6134e98486208e5bcd14026ec2?d=identicon)[PeeHaa](/maintainers/PeeHaa)

---

Top Contributors

[![PeeHaa](https://avatars.githubusercontent.com/u/1330296?v=4)](https://github.com/PeeHaa "PeeHaa (53 commits)")

---

Tags

amphpasyncharmonyiosmtp-client

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/harmonyio-smtp-client/health.svg)

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

###  Alternatives

[amphp/http-server

A non-blocking HTTP application server for PHP based on Amp.

1.3k4.5M81](/packages/amphp-http-server)[amphp/http-client

An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses.

7286.8M137](/packages/amphp-http-client)[danog/madelineproto

Async PHP client API for the telegram MTProto protocol.

3.4k855.0k18](/packages/danog-madelineproto)[nmred/kafka-php

Kafka client for php

1.5k1.7M18](/packages/nmred-kafka-php)[amphp/websocket-client

Async WebSocket client for PHP based on Amp.

1613.0M39](/packages/amphp-websocket-client)[amphp/websocket

Shared code for websocket servers and clients.

453.1M9](/packages/amphp-websocket)

PHPackages © 2026

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