Embeds Calendly widgets into Yii2 applications
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist daxslab/yii2-calendly "*"
or add
"daxslab/yii2-calendly": "*"
to the require section of your composer.json
file.
<?= \daxslab\calendly\Calendly::widget([
'calendlyId' => Yii::$app->params['calendlyId'],
'mode' => \daxslab\calendly\Calendly::MODE_INLINE,
]) ?>
The component will try to set some properties by default:
- mode: Defaults to "inline". It can also be "button" or "text"
- text: Default to "Schedule time with me"
Proudly made by Daxslab.