PHP code example of localdev / laravel-raven-atlas
1. Go to this page and download the library: Download localdev/laravel-raven-atlas library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
public function webhook(Request $request)
{
// This verifies the webhook
$verify = RavenAtlas::verifyWebhook();
if ($verify == true) {
// do something with the webhook payload
...
return response()->json("OK", 200);
}
return response()->json("Error", 400);
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.