PHPackages                             jinowom/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. jinowom/yii2-fullcalendar

ActiveYii2-extension

jinowom/yii2-fullcalendar
=========================

Yii2 fullcalendar Widgets

4.0.2.5(5y ago)021MITPHP

Since Jan 20Pushed 5y agoCompare

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

READMEChangelogDependencies (4)Versions (7)Used By (0)

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

[](#yii2-fullcalendar)

Yii2全日历小部件,Fullcalendar Yii2扩展JQuery来自：http ://arshaw.com/fullcalendar/ 版本4.0.2许可证MIT

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:

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

or run:

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

```

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

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

Changelog
---------

[](#changelog)

17-04-2019 Updated to latest 4.0.2 Stable Version of the library 19-01-2017 Updated to include non-standard fields 29-11-2014 Updated to latest 2.2.3 Version of the library

Usage
=====

[](#usage)

Quickstart Looks like this:

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

  ?>
