PHP code example of dmitrybukhonov / jivowebhook
1. Go to this page and download the library: Download dmitrybukhonov/jivowebhook 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/ */
dmitrybukhonov / jivowebhook example snippets
$jivoHook = new JivoHook;
if ($jivoHook->getEmailHook()) {
$httpClient = new Client([
'verify' => false,
]);
$httpClient->post($url, [
'form_params' => [
'email' => $jivoHook->getEmailHook(),
],
]);
}