tugmaks / yii2-jivosite
Jivosite widget plugin
Installs: 542
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2025-04-22 01:33:04 UTC
README
Jivosite widget plugin
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist tugmaks/yii2-jivosite "*"
or add
"tugmaks/yii2-jivosite": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \tugmaks\Jivosite\Chat::widget(['widgetId'=>'XXXXXXX']); ?>
Or you can set widgetId in application params yii-application/common/config/params-local.php
<?php return [ 'jivosite.widgetId'=>'ZfIbRy0uHr' ]; ?>
And call widget like this
<?= \tugmaks\Jivosite\Chat::widget(); ?>
Widget can be called in any view or layout