thiagotalma/yii2-fullcalendar

Widget for Yii Framework 2.0 to use FullCalendar

Installs: 51 033

Dependents: 0

Suggesters: 0

Security: 0

Stars: 14

Watchers: 8

Forks: 15

Language:JavaScript

Type:yii2-extension

2.0.0 2014-11-07 11:32 UTC

This package is not auto-updated.

Last update: 2024-12-21 17:48:24 UTC


README

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
        ...
    ],
]); ?>