2017 © Pedro Peláez
 

symfony-bundle mailgun-admin-bundle

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

image

copromatic/mailgun-admin-bundle

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

  • Friday, March 2, 2018
  • by rdarricau
  • Repository
  • 4 Watchers
  • 0 Stars
  • 247 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 73 % Grown

The README.md

Table of contents

Requirements

This bundle is tested with Symfony 3 and PHP 7.1 with Swiftmailer and Mailgun Transport, (*1)

Getting started

MailgunAdminBundle simply register ids of emails sent from Mailgun in DB and offers, (*2)

Just pull the vendor:br/ composer require copromatic/mailgun-admin-bundle, (*3)

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

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:br/ php [bin|app]/console doctrine:schema:update --force [--em=mailgun_admin], (*5)

Or, (*6)

php [bin|app]/console doctrine:migration:diff and php [bin|app]/console doctrine:migration:migrate if you roll with migrations, (*7)

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

What's 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, (*9)

TODO

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

Creators


, (*10)

github.com/copromatic, (*11)


, (*12)

Yannis Touili - github.com/touiliy, (*13)

Code and documentation copyright 2012-2017. Code released under the MIT License., (*14)

The Versions

02/03 2018

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

by Yannis Touili

mailgun tools admin bundle