lav45 / yii2-fullcalendar
Widget for Yii Framework 2.0 to use FullCalendar
Installs: 1 437
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 5
Forks: 5
Type:yii2-extension
Requires
- bower-asset/fullcalendar: 3.*
- yiisoft/yii2: 2.0.*
This package is auto-updated.
Last update: 2024-10-12 23:46:46 UTC
README
Widget for Yii Framework 2.0 to use FullCalendar
Installation
The preferred way to install this extension is through composer.
Either run
~$ composer require lav45/yii2-fullcalendar
or add
"lav45/yii2-fullcalendar": "~1.0"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
use lav45\widget\FullCalendar; <?= FullCalendar::widget([ 'googleCalendar' => true, // If the plugin displays a Google Calendar. Default false 'clientOptions' => [ // put your options and callbacks here // see http://fullcalendar.io/docs/ 'lang' => 'pt-br', // optional, if empty get app language ], ]); ?>