suleyman/filament-smart-date-filter

Smart date range filter for Filament v4

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

Language:Blade

pkg:composer/suleyman/filament-smart-date-filter

v1.0.0 2025-12-30 12:25 UTC

This package is not auto-updated.

Last update: 2025-12-31 10:56:44 UTC


README

Latest Version Total Downloads License

A premium, feature-rich date range filter for Filament v4 with 14 languages, 23 themes, and dark mode support.

Features

  • 🌍 14 Languages - Turkish, English, German, French, Spanish, Italian, Portuguese, Russian, Arabic, Chinese, Japanese, Korean, Dutch, Polish
  • 🎨 23 Color Themes - All Tailwind CSS colors
  • 🌙 Dark Mode - Full dark mode support
  • 📱 Responsive - Mobile-friendly design
  • Quick Presets - Today, Yesterday, Last 7/30 Days, This Month/Year, etc.
  • 🎯 Customizable - Config file for easy customization

Screenshots

https://hizliresim.com/pqb8qu4 https://hizliresim.com/f03rsks https://hizliresim.com/5eqgk8b https://hizliresim.com/6utafgf https://hizliresim.com/cbka50h

mobile https://hizliresim.com/r8jtk8s https://hizliresim.com/g5dtjab

Installation

composer require suleyman/filament-smart-date-filter

Publish config (optional):

php artisan vendor:publish --tag=smart-date-filter-config

Usage

use Suleyman\SmartDateFilter\SmartDateFilter;

public static function table(Table $table): Table
{
    return $table
        ->filters([
            SmartDateFilter::make()
                ->column('created_at'),
        ]);
}

Configuration

Edit config/smart-date-filter.php:

return [
    'locale' => 'tr',        // Language
    'theme' => 'amber',      // Color theme
    'format' => 'DD/MM/YYYY',
    'first_day_of_week' => 1,
];

Available Themes

Grays: slate, gray, zinc, neutral, stone

Colors: red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose

Supported Languages

tr, en, de, fr, es, it, pt, ru, ar, zh, ja, ko, nl, pl

License

MIT