PHPackages                             zguillez/z-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. zguillez/z-mailgun

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

zguillez/z-mailgun
==================

PHP module for Mailgun email sender

v1.0.1(6y ago)01421MITPHP

Since Mar 10Pushed 6y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (4)Used By (1)

z-mailgun
=========

[](#z-mailgun)

[![License](https://camo.githubusercontent.com/e498eead712d82d9ee1af0a4850acd2e46ea48c48fb9ce5a3d2ab64f28f95b34/687474703a2f2f696d672e736869656c64732e696f2f3a6c6963656e73652d6d69742d626c75652e737667)](http://doge.mit-license.org)

PHP module for Mailgun email sender

Getting Started
===============

[](#getting-started)

### Add package to composer.json

[](#add-package-to-composerjson)

`composer require zguillez/z-mailgun`

```
//packaje.json
{
    "require": {
        "zguillez/z-mailgun": "^1.0.0"
    }
}

```

Usage:
======

[](#usage)

```
require 'vendor/autoload.php';

$mail = new Z\Mailgun('m.mydomain.com', 'key-****************************');
$result = $mail->send("no_reply@mydomain.com", "dummy@gmail.com", "[test] z-mailgun", "this is a test...");
var_dump($result);

```

Contributing and issues
=======================

[](#contributing-and-issues)

Contributors are welcome, please fork and send pull requests! If you have any ideas on how to make this project better then please submit an issue or send me an [email](mailto:mail@zguillez.io).

License
=======

[](#license)

©2020 Zguillez.io

Original code licensed under [MIT](https://en.wikipedia.org/wiki/MIT_License) Open Source projects used within this project retain their original licenses.

Changelog
=========

[](#changelog)

### v1.0.0 (Mar 10, 2020)

[](#v100-mar-10-2020)

- Initial implementation

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

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

Every ~0 days

Total

3

Last Release

2254d ago

Major Versions

v0.0.1 → v1.0.02020-03-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ae4906406c20dee4d4ea1cfe9245b7e416dd4a8d19f9963a195e38707dbd16a?d=identicon)[zguillez](/maintainers/zguillez)

---

Top Contributors

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

---

Tags

phpmailemailmailgun

### Embed Badge

![Health badge](/badges/zguillez-z-mailgun/health.svg)

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

###  Alternatives

[railsware/mailtrap-php

The Mailtrap SDK provides methods for all API functions.

56770.5k](/packages/railsware-mailtrap-php)[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)[henrique-borba/php-sieve-manager

A modern (started in 2022) PHP library for the ManageSieve protocol (RFC5804) to create/edit Sieve scripts (RFC5228). Used by Cypht Webmail.

23125.7k2](/packages/henrique-borba-php-sieve-manager)[benhall14/php-imap-reader

A PHP class that makes working with IMAP in PHP simple.

3516.6k](/packages/benhall14-php-imap-reader)

PHPackages © 2026

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