Skip to content

A component for Nette - calendar with events

Notifications You must be signed in to change notification settings

nexendrie/EventCalendar

 
 

Repository files navigation

EventCalendar

Total Downloads Latest Stable Version Build Status Code Coverage

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}

About

A component for Nette - calendar with events

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 86.1%
  • Latte 13.9%