konecnyjakub / event-calendar
This package is abandoned and no longer maintained.
The author suggests using the nexendrie/event-calendar package instead.
Plugin for Nette based web applications for creating calendar with custom events
0.7.0
2021-05-08 15:15 UTC
Requires
- php: >=7.4.0
- ext-calendar: *
- latte/latte: ^2.8.3 || ^3.0
- nette/application: ^3.1.2
- nette/neon: ^3.2.2
- nette/utils: ^3.2.2
Requires (Dev)
- ext-curl: *
- ext-json: *
- nette/caching: ^3.1.1
- nexendrie/code-quality: @dev
- nexendrie/site-generator: ^0.7
- nexendrie/translation: ^2.3.1
- phpstan/phpstan-nette: ^0.12
- texy/texy: ^3.1.4
Suggests
- ext-curl: Needed for Google Calendar
- ext-json: Needed for Google Calendar
- nexendrie/translation: Translator
- texy/texy: To use Texy! syntax in events
Conflicts
- nette/caching: <3.1.1
- texy/texy: <3.1.4
Replaces
- jaroslav-kubicek/event-calendar: >=0.2
- konecnyjakub/event-calendar: >=0.6.1
README
This is an add-on component for Nette framework which enables displaying various events in calendar. It provides methods for localisation & 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}