PHPackages                             hymailer/mailerqueue - 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. [Caching](/categories/caching)
4. /
5. hymailer/mailerqueue

ActiveYii2-extensiion[Caching](/categories/caching)

hymailer/mailerqueue
====================

Asynchronous mail delivery queue by HY

v0.0.1(7y ago)01MITPHP

Since Dec 4Pushed 7y agoCompare

[ Source](https://github.com/Hyingerrr/hymailer)[ Packagist](https://packagist.org/packages/hymailer/mailerqueue)[ RSS](/packages/hymailer-mailerqueue/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

hymailer
========

[](#hymailer)

Asynchronous mail delivery queue by HY

Installation
============

[](#installation)

The preferred way to install this extension is through composer.

run

php composer.phar require --prefer-dist hymailer/mailerqueue

to the require section of your composer.json.

Configuration
=============

[](#configuration)

To use this extension, you have to configure the Connection class in your application configuration:

return \[ //....

```
'components' => [
    'mailer' => [

        // 'class' => 'yii\swiftmailer\Mailer',
        // 指向自定义的扩展类名(继承yii\swiftmailer\Mailer) 加载时无法识别自定义的目录 需要在前面alias声明

        'class' => 'hymailer\mailqueue\QueueMailer',

        // send all mails to a file by default. You have to set
        // 'useFileTransport' to false and configure a transport
        // for the mailer to send real emails.

        'db'  => '1', //redis默认有16个库，这里选择入第2个库
        'key' => 'mails',  //redis键名
        'useFileTransport' => false,
        'transport' => [
            'class' => 'Swift_SmtpTransport',
            'host' => 'smtp.163.com',
            'username' => 'imooc_shop@163.com',
            'password' => 'imooc123',
            'port' => '465',
            'encryption' => 'ssl',
        ],
    ],
]

```

\];

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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

2719d ago

### Community

Maintainers

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

---

Top Contributors

[![Hyingerrr](https://avatars.githubusercontent.com/u/38207007?v=4)](https://github.com/Hyingerrr "Hyingerrr (10 commits)")[![Dieyin](https://avatars.githubusercontent.com/u/24785710?v=4)](https://github.com/Dieyin "Dieyin (1 commits)")

---

Tags

asyncredismaileryii2

### Embed Badge

![Health badge](/badges/hymailer-mailerqueue/health.svg)

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

###  Alternatives

[bazilio/yii2-async

Provides translucent api for moving large tasks out of request context

6248.8k2](/packages/bazilio-yii2-async)[pyurin/yii2-redis-ha

Basic redis-ha client

18272.7k](/packages/pyurin-yii2-redis-ha)

PHPackages © 2026

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