PHP code example of coysh-digital / craft-webhook-notifier
1. Go to this page and download the library: Download coysh-digital/craft-webhook-notifier 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/ */
coysh-digital / craft-webhook-notifier example snippets
use coyshdigital\webhooknotifier\Plugin;
Plugin::getInstance()->sources->reportFailure(
'Dynamics sync failed',
'Contact 1234 could not be reconciled.',
['contactId' => 1234]
);