marcreichel / igdb-laravel

Simplify the integration of the IGDB API into your Laravel app. Including IGDB webhook support.
https://marcreichel.dev/docs/igdb-laravel
MIT License
104 stars 22 forks source link

How to access $event name in webhooks #51

Closed adzay closed 2 years ago

adzay commented 2 years ago

Hi (again),

Webhooks is working well. Thanks!

I would like to save successful webhook calls into the database with the name of the event, url and method. Is it possible to access more than just $event->data?

marcreichel commented 2 years ago

Hi,

I've just release v3.2.0 which adds meta information to the events:

Just let me know if this is what you needed 🙂

adzay commented 2 years ago

Thanks!