layxis / yii2-fullcalendar
Yii 2 asset bundle providing FullCalendar 1.x (screen + print styles) so apps can register calendars without manual asset management.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Type:yii2-extension
pkg:composer/layxis/yii2-fullcalendar
Requires
- php: >=7.3.0
- bower-asset/fullcalendar: ~1.6.4
- bower-asset/jquery: ~1.12.1 | ~1.11.1 | ~1.10.2
- yiisoft/yii2: ~2.0.45
Requires (Dev)
- phpunit/phpunit: ^9.6
Replaces
- bower-asset/jquery: 1.11.*@stable | 1.12.*@stable | 1.10.2
README
A lightweight Yii 2 asset bundle that wraps FullCalendar 1.x so you can drop a calendar widget into any view without manually managing assets.
Installation
composer require layxis/yii2-fullcalendar
The package pulls in the FullCalendar 1.6.x assets plus jQuery 1.11.x, which is compatible with Yii 2.0.x applications that rely on the framework's bundled jQuery asset.
Usage
use Layxis\FullCalendar\FullCalendarAsset; FullCalendarAsset::register($this);
Once registered, include the markup that FullCalendar expects, and the asset bundle will publish the CSS/JS from @vendor/bower-asset/fullcalendar.
Customization
- override the published files by creating your own
AssetBundlethat extendsFullCalendarAssetand changes$sourcePath,$css, or$jsas needed. - if you need a newer FullCalendar build, add an alias or symlink under
@app/assetsand set$sourcePathaccordingly.
Support
Report issues or pull requests at https://github.com/layxis/yii2-fullcalendar.
License
MIT