PHPackages                             tlikai/yii-mailer - 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. tlikai/yii-mailer

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

tlikai/yii-mailer
=================

YiiMailer is a mail extensions based on Yii Framework

v1.0(13y ago)5554New BSDPHPPHP &gt;=5.1.0

Since May 15Pushed 13y ago2 watchersCompare

[ Source](https://github.com/tlikai/YiiMailer)[ Packagist](https://packagist.org/packages/tlikai/yii-mailer)[ RSS](/packages/tlikai-yii-mailer/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

YiiMailer is a mail extensions based on Yii Framework
=====================================================

[](#yiimailer-is-a-mail-extensions-based-on-yii-framework)

Requires
--------

[](#requires)

- PHP &gt;= 5
- fsockopen function or configuration php mail

Configuration
-------------

[](#configuration)

```
'components' => array(
    'mailer' => array(
        // for smtp
        'class' => 'ext.mailer.SmtpMailer',
        'server' => 'smtp.163.com',
        'port' => '25',
        'username' => 'your username',
        'password' => 'your password',

        // for php mail
        'class' => 'ext.mailer.PhpMailer',
    ),
)

```

Usage
-----

[](#usage)

```
$to = array(
    'somemail@gmail.com',
);

// or

$to = 'somemail@gmail.com';

$subject = 'Hello Mailer';
$content = 'Some content';

Yii::app()->mailer->send($to, $subject, $content);

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

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

4745d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95a7e28bfad31da4aecd922e5a056f33edda44817de7137e5c8fbc1634080349?d=identicon)[likai](/maintainers/likai)

---

Top Contributors

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

---

Tags

emailyiismtp

### Embed Badge

![Health badge](/badges/tlikai-yii-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/tlikai-yii-mailer/health.svg)](https://phpackages.com/packages/tlikai-yii-mailer)
```

###  Alternatives

[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)[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)[mlocati/spf-lib

Parse, build and validate SPF (Sender Policy Framework) DNS records

67867.9k2](/packages/mlocati-spf-lib)[pear/net_smtp

An implementation of the SMTP protocol

263.0M16](/packages/pear-net-smtp)

PHPackages © 2026

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