PHPackages                             bupy7/zf-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. bupy7/zf-mailgun

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

bupy7/zf-mailgun
================

Mailgun module for Zend Framework 3.

1.0.1(7y ago)11751BSD-3-ClausePHPPHP ^5.6 || ^7.0

Since May 31Pushed 6y ago1 watchersCompare

[ Source](https://github.com/bupy7/zf-mailgun)[ Packagist](https://packagist.org/packages/bupy7/zf-mailgun)[ RSS](/packages/bupy7-zf-mailgun/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (11)Versions (3)Used By (1)

zf-mailgun
==========

[](#zf-mailgun)

[![Latest Stable Version](https://camo.githubusercontent.com/9065c4f021c422490a03c85d454c8f8fe561452602b77c9ab660be2b42ccf1ea/68747470733a2f2f706f7365722e707567782e6f72672f62757079372f7a662d6d61696c67756e2f762f737461626c65)](https://packagist.org/packages/bupy7/zf-mailgun)[![Total Downloads](https://camo.githubusercontent.com/8ed1715e62a7f3b625f12397e59d783033a1c6017ec925e0dacbb3809e63c726/68747470733a2f2f706f7365722e707567782e6f72672f62757079372f7a662d6d61696c67756e2f646f776e6c6f616473)](https://packagist.org/packages/bupy7/zf-mailgun)[![Latest Unstable Version](https://camo.githubusercontent.com/95cd50162bfd2cfe8ccb9459c9c4782390a5965bcb14d30bdba1d12d94c42bad/68747470733a2f2f706f7365722e707567782e6f72672f62757079372f7a662d6d61696c67756e2f762f756e737461626c65)](https://packagist.org/packages/bupy7/zf-mailgun)[![License](https://camo.githubusercontent.com/29ed407e1cea8723cecbf7c34a71268ec013d177e13406c4f0dbd00526490be0/68747470733a2f2f706f7365722e707567782e6f72672f62757079372f7a662d6d61696c67756e2f6c6963656e7365)](https://packagist.org/packages/bupy7/zf-mailgun)[![Build Status](https://camo.githubusercontent.com/8924e05fbcb9e8721ea0a7c156422f570bc82ef714ef16942f148eabdb5dccab/68747470733a2f2f7472617669732d63692e6f72672f62757079372f7a662d6d61696c67756e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/bupy7/zf-mailgun)[![Coverage Status](https://camo.githubusercontent.com/08fcb3b144861a635659b15a3c27c6febb3208737c89ca876964dff7490d0cfc/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f62757079372f7a662d6d61696c67756e2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/bupy7/zf-mailgun?branch=master)

It's simply wrapper module for Zend Framework 3.

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

[](#installation)

The preferred way to install this extension is through composer.

Either run

```
$ php composer.phar require bupy7/zf-mailgun "*"

```

or add

```
"bupy7/zf-mailgun": "*"

```

to the require section of your composer.json file.

Usage
-----

[](#usage)

**You should add module to your list modules:**

```
[
    'modules' => [
        ...

        'Bupy7\Mailgun',

        ...
    ],
]
```

**You should add cofiguration to you local config file:**

```
'mailgun' => [
    'key' => 'key-example',
    'endpoint' => 'http://bin.mailgun.net/example',
    'debug' => false,
]
```

**Now, you can send a message:**

```
$mg = $container->get('Bupy7\Mailgun\MailgunService');
$mg->messages()->->send('example.com', [
  'from'    => 'bob@example.com',
  'to'      => 'sally@example.com',
  'subject' => 'The PHP SDK is awesome!',
  'text'    => 'It is so simple to send a message.'
]);
```

> More info in `Bupy7\Mailgun\Options\ModuleOptions`.

License
-------

[](#license)

zf-mailgun is released under the BSD-3-Clause License.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

2868d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

mailgunmodulezendzend-frameworkzf3mailzendzfmailgunzf3

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/bupy7-zf-mailgun/health.svg)

```
[![Health](https://phpackages.com/badges/bupy7-zf-mailgun/health.svg)](https://phpackages.com/packages/bupy7-zf-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)

PHPackages © 2026

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