Faryshta / yii2-talma-fullcalendar-widget

Widget for Yii Framework 2.0 to use FullCalendar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yii2-talma-fullcalendar-widget

Widget for Yii Framework 2.0 to use FullCalendar

Latest Stable Version Total Downloads Monthly Downloads Daily Downloads Latest Unstable Version License

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist thiagotalma/yii2-fullcalendar "*"

or add

"thiagotalma/yii2-fullcalendar": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \talma\widgets\FullCalendar::widget([
    'googleCalendar' => true,  // If the plugin displays a Google Calendar. Default false
    'loading' => 'Carregando...', // Text for loading alert. Default 'Loading...'
    'config' => [
        // put your options and callbacks here
        // see http://arshaw.com/fullcalendar/docs/
        'lang' => 'pt-br', // optional, if empty get app language
        ...
    ],
]); ?>

About

Widget for Yii Framework 2.0 to use FullCalendar

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 90.3%Language:CSS 8.5%Language:PHP 1.2%