Skip to content

chialab/bedita-calendar

Repository files navigation

Chialab/Calendar

Calendar is a BEdita 5 plugin designed to render and filter calendar views.

Usage

You can install the plugin using Composer.

The recommended way to install Composer packages is:

$ composer require chialab/calendar

Then, you have to load it as plugin in your Cake application:

src/Application.php

$this->addPlugin('Chialab/Calendar');

Please read the Wiki to correctly setup the application.

Testing

GitHub Actions tests codecov

Since some FrontendKit queries uses specific MySQL syntax, you must provide a DSN url for a test database before running tests:

$ export db_dsn='mysql:https://root:****@localhost/bedita4_calendar'

Then, you can launch tests using the test composer command:

$ composer run test

License

Chialab/Calendar is released under the MIT license.