Download the PHP package malzariey/filament-daterangepicker-filter without Composer

On this page you can find all versions of the php package malzariey/filament-daterangepicker-filter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-daterangepicker-filter

Filament Date Range Picker and Filter

Latest Version on Packagist Total Downloads

A native Alpine.js date range picker for Filament. Select date ranges, months, or years with support for presets, time selection, and full modal/slide-over compatibility.

Features

Installation

Publish translations (optional):

Screenshots

Light mode

Dark mode

Basic Usage

As a Field

As a Filter


Picker Type Modes

Day Picker (Default)

Select specific dates:

Month Picker

Select entire months. The popup header includes previous/next-year buttons and a compact numeric year input, so users can jump to a year without stepping one year at a time.

Month picker mode also supports typed input. Pressing Enter applies the typed month value without falling through to day-picker selection behavior:

Range input works with the configured separator:

Example input:

Month picker year options and disabled months respect minYear(), maxYear(), minDate(), and maxDate():

Year Picker

Select entire years:


New Features

Keyboard Input

Allow users to type dates directly:

When allowInput() is enabled, pressing Enter while focused inside the input parses and applies the typed value first. Invalid partial input does not overwrite the previous valid selection unless the user clears the field.

Modal & Slide-Over Compatibility

The dropdown teleports to <body> by default to avoid z-index issues:

Dual State Mode

Store start and end dates in separate Livewire properties:


Custom Events

The component dispatches custom events for integration with Livewire or JavaScript:

Event Fired When
apply.daterangepicker User clicks Apply or autoApply triggers
cancel.daterangepicker User clicks Cancel or presses Escape
show.daterangepicker Picker dropdown opens
hide.daterangepicker Picker dropdown closes

Configuration Options

Timezone

Start and End Dates

Min and Max Dates

First Day of Week

Time Picker

Auto Apply

Single Calendar

Disabled Dates

Display Format

Use PHP Carbon date format tokens. The JavaScript display format is auto-converted:

Note: The deprecated ->displayFormat('DD/MM/YYYY') method still works but is no longer recommended. Use ->format() with PHP Carbon tokens instead — the JavaScript display format is auto-converted.

Predefined Ranges

Use Range Labels

Display preset labels instead of dates:

Disable Custom Range Selection

Drop and Open Directions

Max Span

Week Numbers

Day Picker Month/Year Dropdowns

Use showDropdowns() to show month and year dropdowns in the day picker header:

Month picker mode always shows its own numeric year input in the popup header and uses the same year/date constraints.


Filter Options

Custom Query

Filter Indicator


Migration from v3.x and v4.x

Breaking Changes

  1. jQuery/Moment.js removed - The component now uses Alpine.js and Day.js
  2. Format tokens - Use ->format() with PHP Carbon tokens (e.g. d/m/Y). The JavaScript display format is auto-converted — there is no need to specify Day.js tokens manually.

New Methods

Method Description
->monthPicker() Select months only
->yearPicker() Select years only
->allowInput() Enable keyboard date entry
->teleport(bool) Control dropdown positioning (enabled by default)
->useDualState(start, end) Store dates in separate properties
->format('d/m/Y') Set date format using PHP Carbon tokens (auto-converts to JS)
->pickerType(PickerType) Set picker granularity via enum

Deprecated Methods

Deprecated Method Replacement Since
->displayFormat('DD/MM/YYYY') ->format('d/m/Y') 2.5.1
->setTimePickerOption() ->timePicker() 2.5.1
->setTimePickerIncrementOption() ->timePickerIncrement() 2.5.1
->setAutoApplyOption() ->autoApply() 2.5.1
->setLinkedCalendarsOption() ->linkedCalendars() 2.5.1
->getTimePickerIncrementOption() ->getTimePickerIncrement() 2.5.1
->getAutoApplyOption() ->getAutoApply() 2.5.1
->getLinkedCalendarsOption() ->getLinkedCalendars() 2.5.1
->getTimePickerOption() ->getTimePicker() 2.5.1

Credits

License

The MIT License (MIT). Please see License File for more information.

Acknowledgements


All versions of filament-daterangepicker-filter with dependencies

PHP Build Version
Package Version
Requires filament/filament Version ^4.0|^5.0
spatie/laravel-package-tools Version ^1.16.4
illuminate/contracts Version ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package malzariey/filament-daterangepicker-filter contains the following files

Loading the files please wait ...