Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buibr/mandrill-webhook-events
Mandrill webhook events handlerr for php
https://github.com/buibr/mandrill-webhook-events
Last synced: 23 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-24T06:37:34.000Z (over 5 years ago)
- Last Synced: 2024-04-24T20:14:20.818Z (9 months ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- 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.
});
```