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

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

ricgrangeia/yii2-fullcalendar
=============================

Yii2 widget for fullcalendar

v2.0.0(3y ago)1552MITJavaScriptPHP &gt;=8.0

Since Apr 20Pushed 3y agoCompare

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

READMEChangelog (10)Dependencies (3)Versions (18)Used By (0)

Yii2 fullcalendar component
===========================

[](#yii2-fullcalendar-component)

[![Latest Stable Version](https://camo.githubusercontent.com/cbf49baaca5ca84227c3e651b561a13da13763105e13b922175be13c78772923/68747470733a2f2f706f7365722e707567782e6f72672f7269636772616e676569612f796969322d66756c6c63616c656e6461722f762f737461626c65)](https://packagist.org/packages/ricgrangeia/yii2-fullcalendar)[![Total Downloads](https://camo.githubusercontent.com/d2bc6b9683701a6422e6fa36c7e0e0d650fd5b61f02b37d690ab81c6c57cdf29/68747470733a2f2f706f7365722e707567782e6f72672f7269636772616e676569612f796969322d66756c6c63616c656e6461722f646f776e6c6f616473)](https://packagist.org/packages/ricgrangeia/yii2-fullcalendar)[![Latest Unstable Version](https://camo.githubusercontent.com/4b0332b6689091d7addc01a534346f04da874898866e3d78d4b02445b156ef38/68747470733a2f2f706f7365722e707567782e6f72672f7269636772616e676569612f796969322d66756c6c63616c656e6461722f762f756e737461626c65)](https://packagist.org/packages/ricgrangeia/yii2-fullcalendar)[![License](https://camo.githubusercontent.com/890a54cd89f84650819e9f31295287cdad4be466286e5426133202611798aac5/68747470733a2f2f706f7365722e707567782e6f72672f7269636772616e676569612f796969322d66756c6c63616c656e6461722f6c6963656e7365)](https://packagist.org/packages/ricgrangeia/yii2-fullcalendar)[![composer.lock](https://camo.githubusercontent.com/431efe6a66706210644b98086c07211d02e5d17bd9987e3458399ef9339ee948/68747470733a2f2f706f7365722e707567782e6f72672f7269636772616e676569612f796969322d66756c6c63616c656e6461722f636f6d706f7365726c6f636b)](https://packagist.org/packages/ricgrangeia/yii2-fullcalendar)

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

[](#installation)

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

To install, either run

```
$ php composer.phar require ricgrangeia/yii2-fullcalendar

```

or add

```
"ricgrangeia/yii2-fullcalendar": "*"

```

Main Features and Changes
-------------------------

[](#main-features-and-changes)

### Features

[](#features)

- Extension for Yii2 Framework [Yii2](https://www.yiiframework.com/)
- PHP 8.0 ready
- Show events in a calendar [Fullcalendar.io](https://fullcalendar.io/)
- Manual events add by drag and drop, also by clicking in the calendar
- Has translations (incomplete)

### Changes

[](#changes)

- v1.4.0 - Stable, but unorganized

### Events can be added in three ways, PHP array, Javascript array or JSON feed

[](#events-can-be-added-in-three-ways-php-array-javascript-array-or-json-feed)

### View of the Calendar with draggable events

[](#view-of-the-calendar-with-draggable-events)

#### Php Header

[](#php-header)

```
use ricgrangeia\fullcalendar\Domain\Entity\Event;
use ricgrangeia\fullcalendar\UI\Widget\Fullcalendar;
use ricgrangeia\fullcalendar\UI\Widget\DraggableEvents;
```

#### Html Body

[](#html-body)

```

```

#### PHP

[](#php)

```
