PHPackages                             analyticsface/yii2-mailgun - 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. analyticsface/yii2-mailgun

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

analyticsface/yii2-mailgun
==========================

Mailgun SDK PHP for Yii2 Framework.

v1.2.1(6y ago)03.3k1BSD-3-ClausePHP

Since Feb 8Pushed 6y ago1 watchersCompare

[ Source](https://github.com/analyticsface/yii2-mailgun)[ Packagist](https://packagist.org/packages/analyticsface/yii2-mailgun)[ RSS](/packages/analyticsface-yii2-mailgun/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (8)Used By (0)

Aface Mailgun SDK PHP
=====================

[](#aface-mailgun-sdk-php)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/). This requires the composer-asset-plugin, which is also a dependency for yii2 – so if you have yii2 installed, you are most likely already set.

Add to composer.json

```
"analyticsface/yii2-mailgun" : "~1.2"
```

to the require section of your application's `composer.json` file.

Usage
-----

[](#usage)

```
'components' => [
     ...
    'mailer' => [
        'class' => 'aface\mailgun\Mailer',
        'viewPath' => '@common/mail',
        'key' => 'key-example',
        'domain' => 'mg.example.com',
    ],
    ...
],

```

Validate email

```
Yii::$app->mailer->emailValidate($email)

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Recently: every ~170 days

Total

7

Last Release

2316d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

yii2mailgunyii 2

### Embed Badge

![Health badge](/badges/analyticsface-yii2-mailgun/health.svg)

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

###  Alternatives

[boundstate/yii2-mailgun

Mailgun integration for the Yii framework

28160.6k](/packages/boundstate-yii2-mailgun)[yarcode/yii2-mailgun-mailer

Mailgun mailer implementation for Yii2

1576.0k](/packages/yarcode-yii2-mailgun-mailer)[craftcms/mailgun

Mailgun integration for Craft CMS

27226.1k7](/packages/craftcms-mailgun)[baibaratsky/php-mailgun

Mailgun API PHP library and Yii extension (as well as Yii2)

3224.6k](/packages/baibaratsky-php-mailgun)

PHPackages © 2026

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