github CodeWithKyrian/filament-date-range 1.0.0

latest release: 1.1.0
3 months ago

I'm excited to announce the first release of Filament DateRange (v1.0.0)!

This package provides a lightweight and highly customizable date range picker and table filter component for your Filament admin panels.

Key Features:

  • DateRangePicker Form Field: Easily add an intuitive date range selection field to your Filament forms.
    • Supports storing data in a single JSON attribute or separate date columns via Eloquent accessors/mutators.
  • DateRangeFilter Table Filter: Seamlessly filter your table records by date ranges using a familiar picker interface.
  • Lightweight & Performant: Built purely with AlpineJS for a minimal asset footprint, ensuring your admin panel remains fast.
  • Highly Customizable: Offers an extensive API to tailor:
    • Date display and storage formats (PHP date formats).
    • Minimum and maximum selectable dates.
    • Locale for calendar (month/day names).
    • Timezone handling.
    • First day of the week.
    • Custom input placeholders.
    • Separator text/icon between inputs.
    • Auto-close behavior of the calendar popover.
    • Single or dual calendar display.
    • Read-only and disabled states.
    • Prefixes and suffixes for start/end inputs (text, icons, actions).
  • RTL Support: Automatically adjusts for right-to-left languages.
  • Localization Ready: Includes translations for many common locales, with an easy way to publish and customize them.
  • Seamless Filament Integration: Designed to look and feel native to the Filament ecosystem, inheriting your active theme's styling.

Installation

composer require codewithkyrian/filament-date-range

I believe Filament DateRange will be a valuable addition to your Filament toolkit. Thank you for your support!

Don't miss a new filament-date-range release

NewReleases is sending notifications on new releases.