PHPackages                             vggalkin/calendar - 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. vggalkin/calendar

ActiveYii2-extension

vggalkin/calendar
=================

Calendar of events Расширение для Yii 2

v1.0(9y ago)0111PHP

Since Dec 22Pushed 2y agoCompare

[ Source](https://github.com/vggalkin/calendar)[ Packagist](https://packagist.org/packages/vggalkin/calendar)[ Docs](https://github.com/borysenko/calendar)[ RSS](/packages/vggalkin-calendar/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Calendar of events Расширение для Yii 2
=======================================

[](#calendar-of-events-расширение-для-yii-2)

Календарь событий. Обычный календарь с выделенными датами в которых есть события. Перемещение по месяцам сделано на ajax. Установка
---------

[](#установка)

```

php composer.phar require  vggalkin/calendar "dev-master"

```

или

```

php -d "disable_functions=" composer.phar require  vggalkin/calendar "dev-master"

```

Настройка
---------

[](#настройка)

в \\frontend\\config\\main.php добавляем в самом вверху ```

\Yii::$container->set('vggalkin\calendar\Calendar', [
    'model'=>'frontend\models\News',
    'field_table' => 'date',
    'link' => '/news/index'
]);

```

model - это модель события. (в моем случае это модель News); field\_table - это поле в таблицы событий, по нему делается выделение дат в каллендаре. (в моем случае это поле date); в \\frontend\\config\\main.php добавляем

```

    'controllerMap' => [
        'calendar' => [
            'class' => 'vggalkin\calendar\BaseController',
            ]
     ],

```

Использование
-------------

[](#использование)

В шаблоне:

```

    echo vggalkin\calendar\Calendar::widget([]);

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3425d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c32a875b9743e58e81d19d33e70f4783e5c845e223b98d03b323cea0018cc77?d=identicon)[vggalkin](/maintainers/vggalkin)

---

Top Contributors

[![vggalkin](https://avatars.githubusercontent.com/u/3630798?v=4)](https://github.com/vggalkin "vggalkin (64 commits)")[![borysenko](https://avatars.githubusercontent.com/u/13808269?v=4)](https://github.com/borysenko "borysenko (8 commits)")

---

Tags

calendarYii2 calendar of eventsyii calendar of eventscalendar of events yiicalendar of events

### Embed Badge

![Health badge](/badges/vggalkin-calendar/health.svg)

```
[![Health](https://phpackages.com/badges/vggalkin-calendar/health.svg)](https://phpackages.com/packages/vggalkin-calendar)
```

###  Alternatives

[eluceo/ical

The eluceo/iCal package offers an abstraction layer for creating iCalendars. You can easily create iCal files by using PHP objects instead of typing your \*.ics file by hand. The output will follow RFC 5545 as best as possible.

1.2k17.5M46](/packages/eluceo-ical)[azuyalabs/yasumi

The easy PHP Library for calculating holidays

1.1k11.4M25](/packages/azuyalabs-yasumi)[spatie/icalendar-generator

Build calendars in the iCalendar format

6787.4M9](/packages/spatie-icalendar-generator)[spatie/laravel-google-calendar

Manage events on a Google Calendar

1.4k1.5M21](/packages/spatie-laravel-google-calendar)[league/period

Time range API for PHP

7335.4M21](/packages/league-period)[aeon-php/calendar

PHP type safe, immutable calendar library

2079.7M16](/packages/aeon-php-calendar)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
