daxslab / yii2-calendly
Embeds the Calendly widgets into Yii2 applications
Installs: 1 861
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-11-14 18:34:44 UTC
README
Embeds Calendly widgets into Yii2 applications
Installation
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.
Usage
<?= \daxslab\calendly\Calendly::widget([ 'calendlyId' => Yii::$app->params['calendlyId'], 'mode' => \daxslab\calendly\Calendly::MODE_INLINE, ]) ?>
Defaults
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.