smileythane / sendgrid-webhook
:package_description
0.8
2021-12-09 11:42 UTC
Requires
- illuminate/support: ~7|~8
Requires (Dev)
- orchestra/testbench: ~5|~6
- phpunit/phpunit: ~9.0
This package is auto-updated.
Last update: 2024-10-23 18:27:51 UTC
README
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
- Publish config file and configure related model and attribute for checking emails (default model: User, default attribute: 'email')
- Customize your webhook route
- Copy your webhook route to sendgrid and activate it
- 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.