Skip to content

Latest commit

 

History

History
executable file
·
53 lines (34 loc) · 1.44 KB

README.md

File metadata and controls

executable file
·
53 lines (34 loc) · 1.44 KB

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.