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

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

itbeauftragter/yii2-nsl-mailgun
===============================

NSL Mailgun Extension for Yii2

1.0.5(6y ago)013Apache-2.0PHP

Since Feb 8Pushed 6y agoCompare

[ Source](https://github.com/ITBeauftragter/yii2-nsl-mailgun)[ Packagist](https://packagist.org/packages/itbeauftragter/yii2-nsl-mailgun)[ RSS](/packages/itbeauftragter-yii2-nsl-mailgun/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

Mailgun
=======

[](#mailgun)

NSL Mailgun Extension for Yii2

Version
-------

[](#version)

Aktuelle Version: 1.0.5

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

[](#installation)

```
php composer.phar require --prefer-dist itbeauftragter/yii2-nsl-mailgun "*"

```

Usage
-----

[](#usage)

Configure it in the application configuration:

```
'components' => [
    ...
    'mailer' => [
        'class' => 'itbeauftragter\mailgun\Mailer',
        'key' => 'key-example',
        'domain' => 'mg.example.com',
        'endpoint' => 'api.eu.mailgun.net'
    ],
    ...
],
```

To send an email, you may use the following code:

```
Yii::$app->mailer->compose('contact/html', ['contactForm' => $form])
    ->setFrom('from@domain.com')
    ->setTo($form->email)
    ->addTags(['Tag1', 'Tag2'])
    ->setSubject($form->subject)
    ->send();
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 56.3% 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 ~63 days

Recently: every ~78 days

Total

6

Last Release

2386d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/468a353786f72a512dd34070d2a554fc32d714ba22f86dc2e947c57c8d3d6f1a?d=identicon)[ITBeauftragter](/maintainers/ITBeauftragter)

---

Top Contributors

[![ITBeauftragter](https://avatars.githubusercontent.com/u/46814233?v=4)](https://github.com/ITBeauftragter "ITBeauftragter (9 commits)")[![mikejpeters](https://avatars.githubusercontent.com/u/3334654?v=4)](https://github.com/mikejpeters "mikejpeters (5 commits)")[![gattir](https://avatars.githubusercontent.com/u/9007655?v=4)](https://github.com/gattir "gattir (1 commits)")[![OllieDay](https://avatars.githubusercontent.com/u/9725880?v=4)](https://github.com/OllieDay "OllieDay (1 commits)")

---

Tags

mailemailmaileryii2extensionmailgunrackspace

### Embed Badge

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

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

###  Alternatives

[boundstate/yii2-mailgun

Mailgun integration for the Yii framework

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

Mailgun mailer implementation for Yii2

1576.5k](/packages/yarcode-yii2-mailgun-mailer)[djagya/yii2-sparkpost

A library provides Yii2 integration with SparkPost mail service

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

Yii2 mail queue component for yii2-swiftmailer.

196.4k](/packages/tigrov-yii2-mailqueue)

PHPackages © 2026

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