PHPackages                             iflow/emailer - 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. iflow/emailer

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

iflow/emailer
=============

iflow\_emailer

v0.0.1(4y ago)0231MulanPSL-2.0PHPPHP &gt;=8.0.0

Since Jan 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/luotianyil/iflow_emailer)[ Packagist](https://packagist.org/packages/iflow/emailer)[ RSS](/packages/iflow-emailer/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

iflow\_emailer
==============

[](#iflow_emailer)

安装
--

[](#安装)

```
composer require iflow/emailer
```

使用
--

[](#使用)

```
use iflow\EMailer\implement\Message\Html;
use iflow\EMailer\Mailer;

$config = [
    'default' => 'qqMailer',
    'emails' => [
        'mailer' => [
            'userName' => 'localhost',
            'passWord' => 'pwd',
            'fromName' => 'localhost：',
            'from' => 'root',
            'ssl' => true,
            'smtpHost' => 'smtp.exmail.domain.com',
            'smtpPort' => 465,
            'timeOut' => 1,
            'mimeVersion' => '1.0',
            'options' => [
                'open_eof_check' => true,
                'package_eof' => "\r\n",
                'package_max_length' => 65536
            ]
        ]
    ]
];

$mail = new Mailer($config, 'mailer');

$content = new Html();
$content = $content
    -> setHtml("测试邮件 带附件")
    -> addAttachment('filename', 'filepath', encoded: 'base64')
    -> setSubject("测试邮件");
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

1619d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d25b62271bcaef304dce7dcb02951de015980b87e5129f440b8d11758d4e86b?d=identicon)[洛水天依](/maintainers/%E6%B4%9B%E6%B0%B4%E5%A4%A9%E4%BE%9D)

---

Top Contributors

[![luotianyiovo](https://avatars.githubusercontent.com/u/22890200?v=4)](https://github.com/luotianyiovo "luotianyiovo (2 commits)")

### Embed Badge

![Health badge](/badges/iflow-emailer/health.svg)

```
[![Health](https://phpackages.com/badges/iflow-emailer/health.svg)](https://phpackages.com/packages/iflow-emailer)
```

###  Alternatives

[pestphp/pest

The elegant PHP Testing Framework.

11.6k72.2M20.5k](/packages/pestphp-pest)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.6M343](/packages/drupal-core-dev)

PHPackages © 2026

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