konecnyjakub/event-calendar
Composer 安装命令:
composer require konecnyjakub/event-calendar
包简介
Plugin for Nette based web applications for creating calendar with custom events
README 文档
README
This is an add-on component for Nette framework which enables displaying various events in calendar. It provides methods for localization & customization. You can also use html and Texy! in your event texts.
Installation
The best way to install it is via Composer. Just add nexendrie/event-calendar to your dependencies.
Quick start
Add to your code (in presenter/control):
<?php declare(strict_types=1); use Nexendrie\EventCalendar\Simple\SimpleCalendar; class MyPresenter extends \Nette\Application\UI\Presenter { protected function createComponentCalendar(): SimpleCalendar { $cal = new SimpleCalendar(); return $cal; } }
and in template:
{control calendar}
统计信息
- 总下载量: 659
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-11-27