Download the PHP package yetopen/yii2fullcalendar without Composer
On this page you can find all versions of the php package yetopen/yii2fullcalendar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yetopen/yii2fullcalendar
More information about yetopen/yii2fullcalendar
Files in yetopen/yii2fullcalendar
Package yii2fullcalendar
Short Description Yii2 fullcalendar widget (fork)
License MIT
Homepage http://www.frenzel.net/
Informations about the package yii2fullcalendar
yii2fullcalendar
Fullcalendar extension for Yii2 * https://github.com/fullcalendar/fullcalendar
Uses Fullcalendar v6 assets from CDN. License MIT
This is a small update using v6 calendar. It's stil a draft, as not all features have been implemented, but it's working. Feel free to open PRs for improvements.
Originally developed by [email protected].
Installation
Package is although registered at packagist.org - so you can just add one line of code, to let it run!
add the following line to your composer.json require section:
or run:
Changelog
2023.04.19 Updated to use v6 library 2019.04.17 Updated to latest 4.0.2 Stable Version of the library 2017.01.19 Updated to include non-standard fields 2014.11.29 Updated to latest 2.2.3 Version of the library
Usage
Quickstart Looks like this:
Note, that this will only view the events without any detailed view or option to add a new event.. etc.
Non-Standard fields
You can add non-standard fields via the non-standard fields array, for which you can pass any key/value pair, as described in the Event Fields documentation.
So, using the Quick Start example above, you can read field1
and fields2
in your JavaScript using notation similar to event.nonstandard.field1
and event.nonstandard.field2
.
AJAX Usage
If you wanna use ajax loader, this could look like this:
20171023 ajaxEvents are replaced by events - pls. check fullcalendar io documentation for details
and inside your referenced controller, the action should look like this: