PHP code example of sirumobile / zendesk-notifier
1. Go to this page and download the library: Download sirumobile/zendesk-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/ */
sirumobile / zendesk-notifier example snippets
$options = (new ZendeskOptions())
->subject('My message')
->asRequest()
->requester('some-user@domain');
$chatMessage = new ChatMessage('');
$chatMessage->options($options);