chintan/yii2-fullcalendar

Just A Fullcalendar Yii2 Widget 3.1

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:yii2-extension

0.0.2 2015-07-22 11:22 UTC

This package is not auto-updated.

Last update: 2025-07-06 00:23:13 UTC


README

fullcalendar yii2 widget

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require chintan/yii2-fullcalendar

or add

"chintan/yii2-fullcalendar": "*"

to the require section of your composer.json file.

Usage

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

<?php
use chintan\fullcalendar\FullCalendar;
?>
<?= FullCalendar::widget([
	'options'=>['id'=>'calender'],
	
    'config' => [
	    'header' => ['left'=>'prev,next today','center'=> 'title','right'=> 'month,agendaWeek,agendaDay'],
	    'defaultDate' => date('Y-m-d'),
	    'editable' =>  true,
        'lang' => 'en-gb', // optional, if empty get app language
        // put your options and callbacks here
        // see http://arshaw.com/fullcalendar/docs/
        //@eg 'eventSources'=> ['http://localhost/new_crm_branch/crm/marketing/feed'],
	], 
]); ?>