PHPackages                             hjp1011/yii2-fullcalendar - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. hjp1011/yii2-fullcalendar

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

hjp1011/yii2-fullcalendar
=========================

Yii2 fullcalendar Widgets

1.0.0(2y ago)00MITPHP

Since May 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/hjp1011/yii2-fullcalendar)[ Packagist](https://packagist.org/packages/hjp1011/yii2-fullcalendar)[ Docs](http://www.frenzel.net/)[ RSS](/packages/hjp1011-yii2-fullcalendar/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

yii2-fullcalendar
=================

[](#yii2-fullcalendar)

JQuery Fullcalendar Yii2 Extension JQuery from: Version 2.1.1 License MIT

JQuery Documentation:

A tiny sample can be found here:

[![Latest Stable Version](https://camo.githubusercontent.com/9f935faf7208b78ef9bbfcd05db50da6f46204254eb8ae1c23e8b0091a686a6b/687474703a2f2f706f7365722e707567782e6f72672f686a70313031312f796969322d66756c6c63616c656e6461722f76)](https://packagist.org/packages/hjp1011/yii2-fullcalendar) [![Total Downloads](https://camo.githubusercontent.com/a82ff3df34aee99c53063400519b0ad5ca9d015772a0095134c881f2322a2ee4/687474703a2f2f706f7365722e707567782e6f72672f686a70313031312f796969322d66756c6c63616c656e6461722f646f776e6c6f616473)](https://packagist.org/packages/hjp1011/yii2-fullcalendar) [![Latest Unstable Version](https://camo.githubusercontent.com/a4e2b33545f0d335864c3e96a3b73284730ae7cb0e1e2571027e780c51aae1d5/687474703a2f2f706f7365722e707567782e6f72672f686a70313031312f796969322d66756c6c63616c656e6461722f762f756e737461626c65)](https://packagist.org/packages/hjp1011/yii2-fullcalendar) [![License](https://camo.githubusercontent.com/b083bdfb6674f288ff29b512b2e95f9eb9fbf832a3cad72b444ec2fa6268efcf/687474703a2f2f706f7365722e707567782e6f72672f686a70313031312f796969322d66756c6c63616c656e6461722f6c6963656e7365)](https://packagist.org/packages/hjp1011/yii2-fullcalendar) [![PHP Version Require](https://camo.githubusercontent.com/83866ac07a0633cc6edb7d031be1400d23bfdb9a2ff8bc77f29bb9afb24e4d69/687474703a2f2f706f7365722e707567782e6f72672f686a70313031312f796969322d66756c6c63616c656e6461722f726571756972652f706870)](https://packagist.org/packages/hjp1011/yii2-fullcalendar)

Installation
============

[](#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:

```
  "hjp1011/yii2-fullcalendar":"*",
```

or run:

```
$ php composer.phar require hjp1011/yii2-fullcalendar "*"

```

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

> php composer.phar global require "fxp/composer-asset-plugin:~1.0"

Usage
=====

[](#usage)

Quickstart Looks like this:

```
  $events = array();
  //Testing
  $Event = new \yii2-fullcalendar\models\Event();
  $Event->id = 1;
  $Event->title = 'Testing';
  $Event->start = date('Y-m-d\TH:i:s\Z');
  $event->nonstandard = [
    'field1' => 'Something I want to be included in object #1',
    'field2' => 'Something I want to be included in object #2',
  ];
  $events[] = $Event;

  $Event = new \yii2-fullcalendar\models\Event();
  $Event->id = 2;
  $Event->title = 'Testing';
  $Event->start = date('Y-m-d\TH:i:s\Z',strtotime('tomorrow 6am'));
  $events[] = $Event;

  ?>
