Amitav Roy

Blog on web and travel

Working with webhooks using the spatie package in Laravel

Posted on by Amitav Roy

This package allows you to queue the webhook which means your main thread doesn't need to slow down. It allows you to send authentication data through headers which can be checked on the receiver's end to validate the source of the data. And the best part, it comes with a client-side package as well which allows you to create a URL on which you can listen for the webhook data, do the necessary authentication and process.

Check out this video where I go through the setup and use of both the client and server package.