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

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

loveorigami/yii2-fullcalendar
=============================

A wrapper for fullcalendar

1.5(7y ago)48.3k↓100%1[1 PRs](https://github.com/loveorigami/yii2-fullcalendar/pulls)MITPHP

Since Dec 8Pushed 5y ago2 watchersCompare

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

READMEChangelog (7)Dependencies (5)Versions (8)Used By (0)

Yii2-fullcalendar
=================

[](#yii2-fullcalendar)

A wrapper around Yii2 Bootstrap Modal for using an ActiveForm via AJAX inside.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
$ php composer.phar require --prefer-dist loveorigami/yii2-modal-ajax "@dev"
```

or add

```
"loveorigami/yii2-fullcalendar": "@dev"

```

to the require section of your composer.json file.

Usage with presets
------------------

[](#usage-with-presets)

```
use lo\widgets\fullcalendar\FullcalendarScheduler;
use lo\widgets\fullcalendar\presets\SchedulerDemoPreset;

echo FullcalendarScheduler::widget([
    'presetClass' => SchedulerDemoPreset::class,
    'eventSources' => [
        Url::to(['events', 'id' => $model->id])
    ],
    // or
    // 'events' => Url::to(['events', 'id' => $model->id]),
]);
```

more options see bottom...

Usage
-----

[](#usage)

### Simple usage with array data

[](#simple-usage-with-array-data)

```
