PHPackages                             copromatic/mailgun-admin-bundle - 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. copromatic/mailgun-admin-bundle

ActiveSymfony-bundle[Mail &amp; Notifications](/categories/mail)

copromatic/mailgun-admin-bundle
===============================

A bundle that offers a set of tools to monitor emails sent via Mailgun

1.2(6y ago)011.5k↓100%MITPHPPHP &lt;=7.3.3CI failing

Since Mar 2Pushed 1y ago4 watchersCompare

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

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Table of contents
-----------------

[](#table-of-contents)

Requirements
------------

[](#requirements)

This bundle is tested with Symfony 3 and PHP 7.1 with Swiftmailer and [Mailgun Transport](https://github.com/tehplague/swiftmailer-mailgun-bundle)

Getting started
---------------

[](#getting-started)

MailgunAdminBundle simply register ids of emails sent from Mailgun in DB and offers

Just pull the vendor:
`composer require copromatic/mailgun-admin-bundle`

(Optional) Set up a connection for the bundle, will use "default" if not specified

```
orm:
    default_entity_manager: default
    entity_managers:
        default:
            connection: default
            naming_strategy: doctrine.orm.naming_strategy.underscore
            auto_mapping: true
        mailgun_admin:
            connection: default
            naming_strategy: doctrine.orm.naming_strategy.underscore
            mappings:
                MailgunAdminBundle: ~

...

mailgun_admin:
    api_key: '%mailgun_api_key%'
    entity_manager: 'mailgun_admin'
```

Then update your database:
`php [bin|app]/console doctrine:schema:update --force [--em=mailgun_admin]`

Or

`php [bin|app]/console doctrine:migration:diff` and `php [bin|app]/console doctrine:migration:migrate` if you roll with migrations

A Swiftmailer listener waits for an email sent, it registers it to the DB if it bears a Message-Id (set up by Mailgun)

What's included
---------------

[](#whats-included)

8 tables:
One for messages (mailgun can set their same id to multiples emails if they are sent at the same time)
7 for trackers: bounces, clicks, deliveries, failures, opens, spam reports

TODO
----

[](#todo)

- ! tests !
- Implement unsubscribe tracking
- Services to access content easily
- Twig extensions to display data

Creators
--------

[](#creators)

[ ![](https://camo.githubusercontent.com/a977cc87f8fde31fbf07257fa6574ba67bf93c29217d812a343a5e6127b0928e/68747470733a2f2f66696c65732e636f70726f6d617469632e636f6d2f6c6f676f2d636f70726f6d617469632d68642e6a7067)](https://www.copromatic.com/)
github.com/copromatic

**Yannis Touili**

- github.com/touiliy

Copyright and license
---------------------

[](#copyright-and-license)

Code and documentation copyright 2012-2017. Code released under the [MIT License](https://github.com/twbs/bootstrap/blob/master/LICENSE).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 76.2% 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 ~241 days

Total

3

Last Release

2508d ago

PHP version history (3 changes)1.0PHP &lt;=7.2

1.1PHP &lt;=7.3

1.2PHP &lt;=7.3.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/231db75ada635ccf91658869046dca5999895db2308ba85433fef63128450108?d=identicon)[rdarricau](/maintainers/rdarricau)

---

Top Contributors

[![touiliy](https://avatars.githubusercontent.com/u/6215536?v=4)](https://github.com/touiliy "touiliy (32 commits)")[![gaetanHautecoeur](https://avatars.githubusercontent.com/u/2971988?v=4)](https://github.com/gaetanHautecoeur "gaetanHautecoeur (8 commits)")[![rdarricau](https://avatars.githubusercontent.com/u/3931513?v=4)](https://github.com/rdarricau "rdarricau (2 commits)")

---

Tags

mailgun tools admin bundle

### Embed Badge

![Health badge](/badges/copromatic-mailgun-admin-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/copromatic-mailgun-admin-bundle/health.svg)](https://phpackages.com/packages/copromatic-mailgun-admin-bundle)
```

###  Alternatives

[serendipity_hq/bundle-aws-ses-monitor

Symfony bundle to monitor AWS SES bounces, complaints and deliveries through SNS. Comes with a command to fully configure the topics and includes configurable SwiftMailer filter to avoid sending emails to bounced and complained emails.

1380.7k](/packages/serendipity-hq-bundle-aws-ses-monitor)[ras/flash-alert-bundle

FlashAlertBundle provides a simplified way to handle (add/display) Symfony flash messages. Client side scripts are written in pure JavaScript.

2423.3k](/packages/ras-flash-alert-bundle)

PHPackages © 2026

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