hgacreative / mailgun-webhooks
Mailgun RESTful webhooks
Package info
github.com/HGACreative/hga-mailgun-webhooks
Type:package
pkg:composer/hgacreative/mailgun-webhooks
dev-master / 1.1.x-dev
2019-10-04 14:55 UTC
Requires
- php: ^7.1.3
- ext-json: *
- ramsey/uuid: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.14
- orchestra/testbench: ^3.3
- phpunit/phpunit: ^8.4
Suggests
- laravelista/lumen-vendor-publish: Required to publish the package config file in Lumen.
This package is auto-updated.
Last update: 2026-03-01 00:29:23 UTC
README
Provides a seamless way of tracking sent emails.
Install
composer require hgacreative/mailgun-webhooks
Migration
php artisan vendor:publish
publish the tag named: mailgunWebhooks-migrations
php artisan migrate
Creating EmailTracking models Import
use HgaCreative\MailgunWebhooks\Models\EmailTracking;
Create the entry with the following data when you send emails
EmailTracking::create([
'to' => $name,
'email' => $email,
'message_id' => $response->http_response_body->id,
'sent' => $sent,
'bounced' => $bounced
]);