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

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

nordsoftware/yii-emailer
========================

Extension for creating and sending emails for the Yii PHP framework.

1.2.2(12y ago)127.8k6BSD-3-ClausePHP

Since May 14Pushed 11y ago1 watchersCompare

[ Source](https://github.com/nordsoftware/yii-emailer)[ Packagist](https://packagist.org/packages/nordsoftware/yii-emailer)[ RSS](/packages/nordsoftware-yii-emailer/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

yii-emailer
===========

[](#yii-emailer)

Extension for creating and sending emails for the Yii PHP framework.

Usage
=====

[](#usage)

- Migrate the email\_message database table by this command:

`yiic migrate --migrationPath=vendor.nordsoftware.yii-emailer.migrations`

- Attach the `EmailBehavior` to your controller or to any component that you want to use this extention on it:

```
public function behaviors()
    {
        return array_merge(parent::behaviors(), array(
            'emailer' => array(
                'class' => 'EmailBehavior',
            ),
        ));
    }

```

- Add `Emailer` component to your app config:

```
return array(
'components' => array(
        'email' => array(
            'class' => 'vendor.nordsoftware.yii-emailer.components.Emailer'
        )
    ));

```

- Now you can send the message by calling:

```
$email = $this->createEmail($from, $to, $subject, $body, array('body'=>$message));
$this->sendEmail($email);

```

- To use templates you need to define them in your app config:

```
    'templates'=>array(
      'foo'=>array(
       'subject'=>'Foo',
       'view'=>'foo', // refers to a view in views/email
      ),
    ),

```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 64% 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 ~82 days

Total

5

Last Release

4465d ago

### Community

Maintainers

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

---

Top Contributors

[![cniska](https://avatars.githubusercontent.com/u/1044868?v=4)](https://github.com/cniska "cniska (16 commits)")[![hugovk](https://avatars.githubusercontent.com/u/1324225?v=4)](https://github.com/hugovk "hugovk (3 commits)")[![Abdulrazak-Alkl](https://avatars.githubusercontent.com/u/3602346?v=4)](https://github.com/Abdulrazak-Alkl "Abdulrazak-Alkl (2 commits)")[![detook](https://avatars.githubusercontent.com/u/853431?v=4)](https://github.com/detook "detook (2 commits)")[![soderluk](https://avatars.githubusercontent.com/u/6086071?v=4)](https://github.com/soderluk "soderluk (2 commits)")

### Embed Badge

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

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

###  Alternatives

[cspoo/swiftmailer-mailgun-bundle

Swiftmailer Mailgun bundle

1041.1M](/packages/cspoo-swiftmailer-mailgun-bundle)[wildbit/swiftmailer-postmark

A Swiftmailer Transport for Postmark.

542.8M6](/packages/wildbit-swiftmailer-postmark)[openbuildings/swiftmailer-css-inliner

Inline the css of your html emails

66404.2k3](/packages/openbuildings-swiftmailer-css-inliner)[mailjet/mailjet-swiftmailer

A SwiftMailer transport implementation for Mailjet

251.3M9](/packages/mailjet-mailjet-swiftmailer)[phalcon-ext/mailer

Mailer component as wrapper over SwiftMailer for Phalcon.

39199.8k2](/packages/phalcon-ext-mailer)[neos/swiftmailer

A Flow package for easy use of Swift Mailer

14887.2k22](/packages/neos-swiftmailer)

PHPackages © 2026

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