Skip to content

daxslab/yii2-calendly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-calendly

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

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.