aria-php/aria-mailgun-webhooks

Tools for interfacing and parsing mailgun webhook events

Maintainers

Package info

gitlab.com/aria-php/aria-mailgun-webhooks

Issues

pkg:composer/aria-php/aria-mailgun-webhooks

Statistics

Installs: 5 804

Dependents: 0

Suggesters: 0

Stars: 0

1.0.1 2020-10-28 15:46 UTC

This package is auto-updated.

Last update: 2026-03-04 20:59:45 UTC


README

This is a wrapper / helper library for parsing mailgun webhook events.

Just a stub for now, but will likely be built on.

This is an ARIA wrapper around both the legacy PHPMailer, and Swiftmailer.

Installation

composer require aria-php/aria-mailgun-webhooks from within your project.

Usage

Creating the parser:

use ARIA\mailgun\webhooks\Parser;

$parser = Parser::parser($api_key);

Parsing out an event


$event = $parser->parse($_POST);

Signatures will be validated at this point, and an exception thrown if things don't match up.