PHPackages                             clavifa/filament-calendar-column - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. clavifa/filament-calendar-column

ActiveLibrary

clavifa/filament-calendar-column
================================

Calendar-style table column plugin for Filament 5.

v1.0.1(yesterday)32↓25%MITPHPPHP ^8.3

Since Aug 16Pushed yesterdayCompare

[ Source](https://github.com/clavifa/filament-calendar-column)[ Packagist](https://packagist.org/packages/clavifa/filament-calendar-column)[ RSS](/packages/clavifa-filament-calendar-column/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (3)Used By (0)

Filament Calendar Column
========================

[](#filament-calendar-column)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1a616acae5615e8eaa0848c9262a52c107eb04dd1c91d610c0c86363a9b0b8e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c61766966612f66696c616d656e742d63616c656e6461722d636f6c756d6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/clavifa/filament-calendar-column)[![Total Downloads](https://camo.githubusercontent.com/b34c33c312d2d5dd4d69c9d9ef5ed85226f7e3e8396c1866b1e902632b097213/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c61766966612f66696c616d656e742d63616c656e6461722d636f6c756d6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/clavifa/filament-calendar-column)[![License](https://camo.githubusercontent.com/e85f9c1da1e64fc71f10105bd3210ef09aac459c1d35596ff3356d5c352e078f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636c61766966612f66696c616d656e742d63616c656e6461722d636f6c756d6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/clavifa/filament-calendar-column)

A customizable calendar-style table column plugin for [Filament 5](https://filamentphp.com/).

The plugin displays a date value as a compact calendar with year, day, month and optional time.

---

Preview
-------

[](#preview)

[![Filament Calendar Column](docs/screenshot.png)](docs/screenshot.png)

---

Requirements
------------

[](#requirements)

- PHP `^8.3`
- Filament `^5.0`

---

Installation
------------

[](#installation)

Install the package using Composer:

```
composer require clavifa/filament-calendar-column
```

---

Registering the plugin
----------------------

[](#registering-the-plugin)

This package is a Filament Panel Plugin.

Open your Filament Panel Provider:

```
app/Providers/Filament/AdminPanelProvider.php
```

Import the plugin:

```
use Clavifa\FilamentCalendarColumn\FilamentCalendarColumnPlugin;
```

Then register it in your `panel()`:

```
public function panel(Panel $panel): Panel
{
    return $panel
        // Other panel configuration...

        ->plugin(
            FilamentCalendarColumnPlugin::make()
        );
}
```

You can also register multiple plugins using plugins():

```
->plugins([
    FilamentCalendarColumnPlugin::make(),
])
```

After that, the plugin will be available for use in Filament tables.

---

Basic usage
-----------

[](#basic-usage)

Import the column:

```
use Clavifa\FilamentCalendarColumn\Columns\CalendarColumn;
```

Then use it in your Filament table:

```
CalendarColumn::make('created_at')
    ->label('Registered in');
```

You can also use any other date/datetime column:

```
CalendarColumn::make('updated_at')
    ->label('Updated on');
```

```
CalendarColumn::make('last_login_at')
    ->label('Last access');
```

The column uses the state of the field passed to make().

---

Configuration
-------------

[](#configuration)

The column provides several methods to customize its appearance and behavior.

### `calendarColor()`

[](#calendarcolor)

Defines the text color of the year displayed in the calendar header -(Default: `#FFFFFF`)\_

```
CalendarColumn::make('created_at')
    ->calendarColor('#F3F3F3');
```

### `calendarBackground()`

[](#calendarbackground)

Defines the background color of the calendar header containing the year.. *(Default: `#82b484`)*

```
CalendarColumn::make('created_at')
    ->calendarBackground('#2563EB');
```

### `timeColor()`

[](#timecolor)

Defines the text and icon color of the time badge. *(Default: `#111827`)*

```
CalendarColumn::make('created_at')
    ->timeColor('#FFFFFF');
```

### `timeBackground()`

[](#timebackground)

Defines the background color of the time badge. *(Default: `#c4dfc5`)*

```
CalendarColumn::make('created_at')
    ->timeBackground('#2563EB');
```

### `showTime()`

[](#showtime)

Controls whether the time badge is displayed. *(Padrão: `true`)*

By default, the time is visible.

```
// is visible
CalendarColumn::make('created_at')->showTime();

// is hide
CalendarColumn::make('created_at')->showTime(false);
```

### `monthFormat()`

[](#monthformat)

Defines the format used to display the month.

The value is passed to Carbon's `translatedFormat()` method. *(Default: `M`)*

```
// Produces (ex: AUG)
CalendarColumn::make('created_at')->monthFormat('M');

// Produces (ex: AUGUST)
CalendarColumn::make('created_at')->monthFormat('F');
```

### `monthLocale()`

[](#monthlocale)

Defines the locale used specifically when formatting the month. *(Default: `pt_BR`)*

```
CalendarColumn::make('created_at')
    ->monthLocale('pt_BR');

CalendarColumn::make('created_at')
    ->monthLocale('en_US');

CalendarColumn::make('created_at')
    ->monthLocale('es_ES');
```

### `timeFormat()`

[](#timeformat)

Defines the format of the time displayed below the calendar. The value is passed to Carbon's `format()` method. *(Default: `H:i`)*

```
CalendarColumn::make('created_at')
    ->timeFormat('H:i:s');
```

---

Examples
--------

[](#examples)

### Complete example

[](#complete-example)

```
use Clavifa\FilamentCalendarColumn\Columns\CalendarColumn;

CalendarColumn::make('updated_at')
    ->label('Updated on')
    ->calendarColor('#FFFFFF')
    ->calendarBackground('#82b484')
    ->timeColor('#FFFFFF')
    ->timeBackground('#c4dfc5')
    ->showTime(true)
    ->monthFormat('M')
    ->monthLocale('pt_BR')
    ->timeFormat('H:i:s')
    ->sortable();
```

### Example without the time

[](#example-without-the-time)

```
CalendarColumn::make('created_at')
    ->showTime(false);
```

### Example with a full month name

[](#example-with-a-full-month-name)

```
CalendarColumn::make('created_at')
    ->monthFormat('F')
    ->monthLocale('pt_BR');
```

### Customized example

[](#customized-example)

```
CalendarColumn::make('updated_at')
    ->calendarColor('#FFFFFF')
    ->calendarBackground('#2563EB')
    ->timeColor('#FFFFFF')
    ->timeBackground('#1D4ED8')
    ->showTime(true)
    ->monthFormat('M')
    ->monthLocale('pt_BR')
    ->timeFormat('H:i')
    ->sortable();
```

---

Defaults
--------

[](#defaults)

SettingDefaultYear color`#FFFFFF`Calendar background`#82b484`Time color`#111827`Time background`#c4dfc5`Show Time`true`Month format`M`Month locale`pt_BR`Time format`H:i`---

Using sorting and toggleable columns
------------------------------------

[](#using-sorting-and-toggleable-columns)

Since `CalendarColumn` is a `ViewColumn`, it can use the methods normally available for Filament table columns:

```
CalendarColumn::make('updated_at')
    ->sortable()
    ->searchable()
    ->toggleable(isToggledHiddenByDefault: true);
```

---

Date fields
-----------

[](#date-fields)

The column was designed to work with `date` and `datetime` fields. Ensure that the attribute is being converted into a `Carbon` instance by Eloquent:

```
protected function casts(): array
{
    return [
        'registered_at' => 'datetime',
        'last_login_at' => 'datetime',
    ];
}
```

---

API Reference
-------------

[](#api-reference)

MethodDefaultDescription`calendarColor()``#FFFFFF`Year text color`calendarBackground()``#82b484`Header background`timeColor()``#111827`Time and icon color`timeBackground()``#c4dfc5`Time background`showTime()``true`Show or hide time`monthFormat()``M`Month format`monthLocale()``pt_BR`Month language`timeFormat()``H:i`Time format---

Licença
-------

[](#licença)

Este pacote é distribuído sob a licença [MIT](LICENSE).

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance100

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16a168cb2ec8cf25d1d66516e67d929800d89e1dba5c2a97332ae7561acd8827?d=identicon)[clavifa](/maintainers/clavifa)

---

Top Contributors

[![fabio-tributei](https://avatars.githubusercontent.com/u/298336274?v=4)](https://github.com/fabio-tributei "fabio-tributei (6 commits)")[![clavifa](https://avatars.githubusercontent.com/u/29878465?v=4)](https://github.com/clavifa "clavifa (1 commits)")

---

Tags

composerfilamentfilament-columnfilament-pluginfilament-v5filamentphpfilamentphp-pluginlaravellaravel-frameworklaravel-packagepackagistphpphp-package

### Embed Badge

![Health badge](/badges/clavifa-filament-calendar-column/health.svg)

```
[![Health](https://phpackages.com/badges/clavifa-filament-calendar-column/health.svg)](https://phpackages.com/packages/clavifa-filament-calendar-column)
```

###  Alternatives

[backstage/mails

View logged mails and events in a beautiful Filament UI.

16429.7k](/packages/backstage-mails)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3915.5k](/packages/rawilk-profile-filament-plugin)[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

604.0k2](/packages/crumbls-layup)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
