https://github.com/buibr/mandrill-webhook-events
Mandrill webhook events handlerr for php
https://github.com/buibr/mandrill-webhook-events
Last synced: 13 days ago
JSON representation
Mandrill webhook events handlerr for php
- Host: GitHub
- URL: https://github.com/buibr/mandrill-webhook-events
- Owner: buibr
- Created: 2019-04-11T11:57:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-24T06:37:34.000Z (almost 6 years ago)
- Last Synced: 2025-04-04T00:29:19.565Z (3 months ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mandrill-Webhook-Events
Install with composer
```terminal
composer require buibr/MandrillEvents
```Usage:
```php
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.
});
```