mhunesi / yii2-clndrjs
Yii2 CLNDR js Extension
dev-master
2020-07-29 11:58 UTC
Requires
- npm-asset/moment: ^2.16.0
- npm-asset/underscore: ^1.10.2
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2026-03-01 00:14:17 UTC
README
Yii2 CLNDR js Extension The package bundle of CLNDR.js plugin. CLNDR is a jQuery calendar plugin. It was created -- you've heard this before -- out of frustration with the lack of truly dynamic front-end calendar plugins out there.
See a demo: kylestetz.github.io/CLNDR/
Installation
The preferred way to install this extension is through composer.
Either run
composer require mhunesi/yii2-clndrjs "*"
or add
"mhunesi/yii2-clndrjs": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \mhunesi\clndrjs\ClndrJsWidget::widget([ 'clientOptions' => [ 'events' => [ [ 'date' => '2020-07-27', 'title' => 'Meeting Title', 'location' => 'Meeting Location' ], [ 'date' => '2020-07-29', 'title' => 'Meeting Title', 'location' => 'Meeting Location' ], ] ] ]) ?>