You would need to set up an endpoint (a route) that you point your web hook at.
That route points to a controller that catches and parses the web hook Json.
You can then pass that info into the associated view.
Good day, How to fetch webhook(notifications) from github and pass it in your Laravel?
Case: There are three application in that repo ex. Laravel, Java and Electron, when one of the developer has an update of their code a webhook will be triggered in Github and notify the owner that there's an update of one of the application.
Implementation suggested: As an admin you can monitor all the update(changes) from github and list all the update in your view (ex. Webhook Monitoring).
I saw this code GET /repos/:owner/:repo/hooks
from here https://developer.github.com/v3/repos/hooks/#list-hooks
Is it possible to pass that hooks into your Laravel (controller and view)?
Please or to participate in this conversation.