PHP code example of innclod / helpdesk-client-php
1. Go to this page and download the library: Download innclod/helpdesk-client-php 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/ */
innclod / helpdesk-client-php example snippets
use Innclod\HelpdeskClient\HelpdeskClient;
$helpdesk = new HelpdeskClient(
'TU_CLIENT_ID',
'TU_CLIENT_SECRET',
'https://api.tuservicio.com/api/v1'
);
$scopedToken = $helpdesk->generateWidgetToken('[email protected]');
bash
composer