0

Yii2-Fullcalendar Part-2

Previously I had written a post regarding how to setup FullCalendar plugin in an Yii2 Framework application. In this tutorial we will show you how to create events in FullCalendar plugin in an Yii2.

Installation

Package is although registered at packagist.org – so you can just add one line of code, to let it run!

add the following line to your composer.json require section:

"philippfrenzel/yii2fullcalendar":"*",

or run:

$ php composer.phar require philippfrenzel/yii2fullcalendar "*"

And ensure, that you have the following plugin installed global:

php composer.phar global require “fxp/composer-asset-plugin:~1.0”

Usage

After complete Yii2-Fullcalendar Part-1, proceed to following.

yii2 fullcalendar 2

index.php

main.js

Note, that this will only view the events without any detailed view or option to add a new event.. etc.

AppAsset.php

EventController.php

 



Save

 

Prakash S

Prakash S

I would like to introduce myself as a Software professional opting for the career in software industry. I'm Prakash S, a MCA graduate and trained as industry level practice for Software technology. Basically I am a PHP Developer but now days exploring more in HTML5, CSS, AngularJS and jQuery libraries.