Skip to content

SmileyThane/sendgrid-webhook

Repository files navigation

Sendgrid Webhook

Latest Version on Packagist Total Downloads Build Status

This package create webhook handler for your laravel application and store it to database. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require smileythane/sendgrid-webhook
$ php artisan migrate

Usage

  1. Publish config file and configure related model and attribute for checking emails (default model: User, default attribute: 'email')
  2. Customize your webhook route
  3. Copy your webhook route to sendgrid and activate it
  4. Clear saved mail info via command: php artisan sendgrid-webhook:clear {--model_id=}

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Credits

License

MIT. Please see the license file for more information.