PHP code example of inquid / yii2-inquid-zendesk-chat

1. Go to this page and download the library: Download inquid/yii2-inquid-zendesk-chat 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/ */

    

inquid / yii2-inquid-zendesk-chat example snippets


<?= \inquid\zendeskchat\ZendeskChat::widget(); 



/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use app\assets\AppAsset;

AppAsset::register($this);



return [
    'adminEmail' => '[email protected]',
    'zendesk_host' => 'inquid',
];

<?= \inquid\zendeskchat\ZendeskChat::widget(['host'=>'inquid']); 

php composer.phar