PHP code example of lav45 / yii2-fullcalendar
1. Go to this page and download the library: Download lav45/yii2-fullcalendar library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lav45 / yii2-fullcalendar example snippets
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
],
]);