SendGrid Event API
Description
A Laravel package that consumes SendGrid webhook events
and makes them available via an API interface., (*1)
Access via REST API (disabled by default) or access package classes directly., (*2)
Installation
To get the latest version, simply require the project using Composer:, (*3)
$ composer require hjmsw/sendgrid-event-api
Database migrations are included in database/migrations. To run them, execute:, (*4)
$ php artisan migrate
REST API
REST API access is disabled by default. If you need access to this, first publish the package config file:, (*5)
$ php artisan vendor:publish
Select the Provider: Hjmsw\SendGridEventApi\Providers\SendGridEventProvider option. You should now have a file named sendgrid_event_api.php in your app's config directory., (*6)
Change the value of enable_rest_access to true to enable., (*7)
You should now be able to access event data by making calls to (get) /events, (*8)
License
This package is licensed under The MIT License (MIT)., (*9)