PHPackages                             kayacekovic/nova-date-range-filter - 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. [Search &amp; Filtering](/categories/search)
4. /
5. kayacekovic/nova-date-range-filter

ActiveLibrary[Search &amp; Filtering](/categories/search)

kayacekovic/nova-date-range-filter
==================================

A Laravel Nova date range filter.

0.1.5(4y ago)09MITCSSPHP &gt;=7.1.0

Since Apr 5Pushed 4y agoCompare

[ Source](https://github.com/kayacekovic/nova-date-range-filter)[ Packagist](https://packagist.org/packages/kayacekovic/nova-date-range-filter)[ RSS](/packages/kayacekovic-nova-date-range-filter/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)DependenciesVersions (9)Used By (0)

Date Range Filter for Laravel Nova
----------------------------------

[](#date-range-filter-for-laravel-nova)

Nova filter that displays a Date Range Picker instead of a select.

### Install

[](#install)

Run this command in your nova project: `composer require ampeco/nova-date-range-filter`

### How to use

[](#how-to-use)

Just use DateRangeFilter class instead of Filter

```
use Ampeco\Filters\DateRangeFilter;

class DateRange extends DateRangeFilter
{
    public function apply(Request $request, $query, $value)
    {
        $from = Carbon::parse($value[0])->startOfDay();
        $to = Carbon::parse($value[1])->endOfDay();

        return $query->whereBetween('created_at', [$from, $to]);
    }

    /**
     * Get the filter's available options.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    // public function options(Request $request)
    // {
    //     return [
    //         'firstDayOfWeek' => 0,
    //         'separator' => '-',
    //         'enableTime' => false,
    //         'enableSeconds' => false,
    //         'twelveHourTime' => false
    //     ];
    // }
}
```

### Customization

[](#customization)

Use fluent interface to configure your DateRange filter

```
(new DateRange)->placeholder("Placeholder")->dateFormat("m d Y")
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~199 days

Recently: every ~249 days

Total

6

Last Release

1598d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a728b47a1ee9fd11f949888a6de60971bbeaf3057d022eab6a6e50491089b4b?d=identicon)[kayacekovic](/maintainers/kayacekovic)

---

Top Contributors

[![beliolfa](https://avatars.githubusercontent.com/u/12644599?v=4)](https://github.com/beliolfa "beliolfa (18 commits)")[![avrahamappel](https://avatars.githubusercontent.com/u/33736292?v=4)](https://github.com/avrahamappel "avrahamappel (7 commits)")[![sash](https://avatars.githubusercontent.com/u/45210?v=4)](https://github.com/sash "sash (4 commits)")[![kakajansh](https://avatars.githubusercontent.com/u/7093483?v=4)](https://github.com/kakajansh "kakajansh (3 commits)")[![kayacekovic](https://avatars.githubusercontent.com/u/32109756?v=4)](https://github.com/kayacekovic "kayacekovic (2 commits)")[![angelocala94](https://avatars.githubusercontent.com/u/6445721?v=4)](https://github.com/angelocala94 "angelocala94 (1 commits)")[![viktorivanov](https://avatars.githubusercontent.com/u/6695695?v=4)](https://github.com/viktorivanov "viktorivanov (1 commits)")[![BobbyBorisov](https://avatars.githubusercontent.com/u/3647471?v=4)](https://github.com/BobbyBorisov "BobbyBorisov (1 commits)")[![bomshteyn](https://avatars.githubusercontent.com/u/4259699?v=4)](https://github.com/bomshteyn "bomshteyn (1 commits)")[![matt-daneshvar](https://avatars.githubusercontent.com/u/10030505?v=4)](https://github.com/matt-daneshvar "matt-daneshvar (1 commits)")[![niladam](https://avatars.githubusercontent.com/u/4151765?v=4)](https://github.com/niladam "niladam (1 commits)")

---

Tags

laraveldatefilternova

### Embed Badge

![Health badge](/badges/kayacekovic-nova-date-range-filter/health.svg)

```
[![Health](https://phpackages.com/badges/kayacekovic-nova-date-range-filter/health.svg)](https://phpackages.com/packages/kayacekovic-nova-date-range-filter)
```

###  Alternatives

[ampeco/nova-date-range-filter

A Laravel Nova date range filter.

35988.8k1](/packages/ampeco-nova-date-range-filter)[pos-lifestyle/laravel-nova-date-range-filter

A Laravel Nova date range filter.

16179.1k](/packages/pos-lifestyle-laravel-nova-date-range-filter)[marshmallow/nova-date-range-filter

A Laravel Nova date range filter.

12228.5k](/packages/marshmallow-nova-date-range-filter)[outl1ne/nova-detached-filters

This Laravel Nova package allows you to detach filters from the filter dropdown

64343.5k](/packages/outl1ne-nova-detached-filters)[outl1ne/nova-input-filter

An input filter for Laravel Nova

24822.7k](/packages/outl1ne-nova-input-filter)[suenerds/nova-searchable-belongs-to-filter

Searchable Nova filter for belongsTo relationships.

29516.9k](/packages/suenerds-nova-searchable-belongs-to-filter)

PHPackages © 2026

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