PHPackages                             mirkhamidov/yii2-mail - 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. mirkhamidov/yii2-mail

ActiveYii2-extension[Mail &amp; Notifications](/categories/mail)

mirkhamidov/yii2-mail
=====================

Handy module for sending and loggin email via core mailer

0.3.2(5y ago)0371MITPHPPHP &gt;=5.4.0

Since Nov 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/m1roff/yii2-mail)[ Packagist](https://packagist.org/packages/mirkhamidov/yii2-mail)[ RSS](/packages/mirkhamidov-yii2-mail/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (4)Versions (9)Used By (0)

yii2-mail (under development!!!)
================================

[](#yii2-mail-under-development)

TODO: ADD DESCRIPTION

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require mirkhamidov/yii2-mail "*"
```

or add

```
"mirkhamidov/yii2-mail": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Send email with attachment
--------------------------

[](#send-email-with-attachment)

```
$_mailRecipient = 'you@email.com';
$_mailMoreData = [
    'someParamInEmail' => 'will be replaced with this text',
];
$_mailParams['attach'] = [
    [
        'file' => $model->params['file']['fileFullPath'],
        'params' => [
            // for details look at http://www.yiiframework.com/doc-2.0/yii-mail-messageinterface.html#attach()-detail
        ],
    ],
];

MMail::sendMail($_mailAlias, $_mailRecipient, $_mailMoreData, $_mailParams);
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Recently: every ~398 days

Total

8

Last Release

1919d ago

### Community

Maintainers

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

---

Top Contributors

[![m1roff](https://avatars.githubusercontent.com/u/2736223?v=4)](https://github.com/m1roff "m1roff (9 commits)")

---

Tags

mailmaileryii2extensionmail-logmail manager

### Embed Badge

![Health badge](/badges/mirkhamidov-yii2-mail/health.svg)

```
[![Health](https://phpackages.com/badges/mirkhamidov-yii2-mail/health.svg)](https://phpackages.com/packages/mirkhamidov-yii2-mail)
```

###  Alternatives

[boundstate/yii2-mailgun

Mailgun integration for the Yii framework

28165.8k](/packages/boundstate-yii2-mailgun)[tigrov/yii2-mailqueue

Yii2 mail queue component for yii2-swiftmailer.

196.4k](/packages/tigrov-yii2-mailqueue)[djagya/yii2-sparkpost

A library provides Yii2 integration with SparkPost mail service

1816.4k](/packages/djagya-yii2-sparkpost)

PHPackages © 2026

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