phucnguyenvn/yii2-evecalendar

Extend yii2-fullcalendar (by Edofre) by adding ajax CRUD for events with recurring option and so on.

1.0.2 2017-03-31 03:49 UTC

This package is auto-updated.

Last update: 2024-04-21 21:43:13 UTC


README

Yii2 calendar and event management is an AJAX based, modern interface calendar. A module which help you easy manage event and schedule and integrate to your application. This modules depends of following extension:

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist phucnguyenvn/yii2-evecalendar "*"

or add

"phucnguyenvn/yii2-evecalendar": "*"

to the require section of your composer.json file.

Migration

php yii migrate --migrationPath=@vendor/phucnguyenvn/yii2-evecalendar/src/migrations

Usage

Configuring to manage Calendar and Event in web interface

Register module

Configure config/web.php as follows

  'modules' => [
            ................
      'calendar' => [
          'class' => 'phucnguyenvn\yii2evecalendar\Module'
      ],
            ................
  ],

Configure timeZone

Configure config/web.php as follows

    $config = [
      'timezone' => 'Asia/Ho_Chi_Minh',
      ...
      ...
    ]
  • Pretty Url's /calendar (only work with pretty URL)