PHPackages                             yetopen/yii2fullcalendar - 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. yetopen/yii2fullcalendar

ActiveYii2-extension

yetopen/yii2fullcalendar
========================

Yii2 fullcalendar widget (fork)

v6.0.0(3y ago)08.1k↓50%1[1 issues](https://github.com/YetOpen/yii2fullcalendar/issues)MITPHP

Since Apr 14Pushed 2y agoCompare

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

READMEChangelog (2)Dependencies (2)Versions (6)Used By (0)

yii2fullcalendar
================

[](#yii2fullcalendar)

Fullcalendar extension for Yii2 \*

Uses Fullcalendar v6 assets **from CDN**. License MIT

This is a small update using v6 calendar. It's stil a *draft*, as not all features have been implemented, but it's working. Feel free to open PRs for improvements.

Originally developed by .

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:

```
  "yetopen/yii2fullcalendar":"*",
```

or run:

```
$ php composer.phar require yetopen/yii2fullcalendar "*"

```

Changelog
---------

[](#changelog)

2023.04.19 Updated to use v6 library 2019.04.17 Updated to latest 4.0.2 Stable Version of the library 2017.01.19 Updated to include non-standard fields 2014.11.29 Updated to latest 2.2.3 Version of the library

Usage
-----

[](#usage)

Quickstart Looks like this:

```
  $events = array();
  //Testing
  $Event = new \yii2fullcalendar\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 \yii2fullcalendar\models\Event();
  $Event->id = 2;
  $Event->title = 'Testing';
  $Event->start = date('Y-m-d\TH:i:s\Z',strtotime('tomorrow 6am'));
  $events[] = $Event;

  ?>
