tugmaks / yii2-jivosite
Jivosite widget plugin
Package info
github.com/tugmaks/yii2-jivosite
Type:yii2-extension
pkg:composer/tugmaks/yii2-jivosite
dev-master
2018-12-21 10:47 UTC
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2026-03-22 03:17:01 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