Skip to content

paolomanca/yii2-fullcalendar-widget

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-fullcalendar-widget

Widget for Yii Framework 2.0 to use FullCalendar (version 2.2.3), based on yii2-talma-fullcalendar-widget

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"paolomanca/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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 89.2%
  • CSS 9.3%
  • PHP 1.5%