buibr/mandrill-webhook-events-php

Mandrill webhook events handlers

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/buibr/mandrill-webhook-events-php

dev-master 2019-09-24 06:37 UTC

This package is auto-updated.

Last update: 2025-09-24 19:39:13 UTC


README

Install with composer

composer require buibr/MandrillEvents

Usage:

use buibr\MandrillEvents\Request;
use buibr\MandrillEvents\Event;
use buibr\MandrillEvents\Exception;

$mandrill = new Request();
    
$mandrill->events(function(Event $event){

    //  Do the purpose.
    print_r([
        $event->getid(),
        $event->getStatus()
    ]);

}, function(Exception $e){

    //  Do what you want on exception.

});