smileythane/sendgrid-webhook

0.8 2021-12-09 11:42 UTC

This package is auto-updated.

Last update: 2024-12-23 18:51:13 UTC


README

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.