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:
- Yii2-fullcalendar (by Edofre) - use to handle front-end interface, display an events.
- Recurr (by simshaun) - use to handle a repeat events.
- Yii2-widget-timepicker (by kartik-v) - a form widget to input time.
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.
php yii migrate --migrationPath=@vendor/phucnguyenvn/yii2-evecalendar/src/migrations
Configure config/web.php as follows
'modules' => [
................
'calendar' => [
'class' => 'phucnguyenvn\yii2evecalendar\Module'
],
................
],
Configure config/web.php as follows
$config = [
'timezone' => 'Asia/Ho_Chi_Minh',
...
...
]
- Pretty Url's /calendar (only work with pretty URL)