Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Mailgun Admin Bundle Laravel Package

copromatic/mailgun-admin-bundle

View on GitHub
Deep Wiki
Context7

Table of contents

Requirements

This bundle is tested with Symfony 3 and PHP 7.1 with Swiftmailer and Mailgun Transport

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

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

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

Creators

github.com/copromatic

Yannis Touili

Copyright and license

Code and documentation copyright 2012-2017. Code released under the MIT License.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator