aria-php/aria-mailgun-webhooks

Tools for interfacing and parsing mailgun webhook events

Installs: 5 478

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

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

1.0.1 2020-10-28 15:46 UTC

This package is auto-updated.

Last update: 2025-10-04 20:02:40 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.