{"repo":"ohdearapp/laravel-ohdear-webhooks","free":true,"listed":false,"github":"https://github.com/ohdearapp/laravel-ohdear-webhooks","clone":"git clone https://github.com/ohdearapp/laravel-ohdear-webhooks.git","description":"Handle Oh Dear webhooks with ease in a Laravel app","language":"PHP","stars":23,"topics":["ohdear","monitoring","uptime","ssl","certificate","webhooks"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Handle Oh Dear! webhooks in a Laravel application Oh Dear can notify your application of events using webhooks. This package can help you handle those webhooks. Out of the box it will verify the Oh Dear signature of all incoming requests. You can easily define jobs or events that should be dispatched when specific events hit your app. This package will not handle what should be done after the webhook request has been validated and the right job or event is called. Installation The service provider will automatically register itself. You must publish the config file with: This is the contents of the config file that will be published at config/ohdear-webhooks.php : In the signing secret key of the config file you specify your signing secret. You can find the correct at the team webhooks settings on the notification settings screen. Finally, take care of the routing: At the Oh Dear notification settings you must configure at what url Oh Dear webhooks should hit your app. In the routes file of your app you must pass that route to Route::ohDearWebhooks : Behind the scenes this will register a POST route to a controller provided by this package. Because Oh Dear has no way of getting a csrf-token, you must add that route to the except array of the VerifyCsrfToken middleware: Usage Oh Dear will send out webhooks for several event types. You can find the full list of events types in the Oh Dear documentation. Oh Dear will sign all requests hitting the webhook url of your app. This pa","default_branch":null,"files":null,"tree":[],"storefront":"/r/ohdearapp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ohdearapp/laravel-ohdear-webhooks/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}