// DOKUMENTATION CALENDAR 3.x

Installation

Requirements

  • PHP 8.2 or higher
  • Filament 5.x

Installing the package

You can install the package via composer:

composer require guava/calendar

Next, publish the package assets:

php artisan filament:assets

Custom theme

A custom filament theme is required, otherwise the CSS of the calendar is not built and the widget will look broken.

If you don't have one yet, please read the filament documentation on how to create a custom theme.

Once you have a theme, add the following to your theme.css file:

@source '../../../../vendor/guava/calendar/resources/**/*';

We also recommend importing our theme, which styles the calendar to better fit the default filament look:

@import '../../../../vendor/guava/calendar/resources/css/theme.css';

The import is optional, but without it the calendar uses the default vkurko/calendar styling.

NOTEIf your theme.css lives in a non-standard path, adjust the paths accordingly.

guava/calendar 565K Installationen · 314 Sterne
// COOKIES

Ein paar Cookies halten die Seite am Laufen und merken sich die Sprache, in der Sie lesen. Andere zählen Besuche, und die bleiben aus, bis Sie zustimmen.

Cookie-Richtlinie