PHPackages                             ampeco/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. ampeco/nova-date-range-filter

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

ampeco/nova-date-range-filter
=============================

A Laravel Nova date range filter.

0.1.3(4y ago)351.0M↓12.2%33[3 PRs](https://github.com/ampeco/nova-date-range-filter/pulls)1MITCSSPHP &gt;=7.1.0

Since Apr 5Pushed 2mo ago1 watchersCompare

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

READMEChangelog (4)DependenciesVersions (8)Used By (1)

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

48

—

FairBetter than 94% of packages

Maintenance56

Moderate activity, may be stable

Popularity52

Moderate usage in the ecosystem

Community23

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

Total

4

Last Release

1715d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f578cc63ee0c3e321c00f5c3b43b862f0864a9119e4353d02188548d8dd5435d?d=identicon)[sash](/maintainers/sash)

---

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)")[![niladam](https://avatars.githubusercontent.com/u/4151765?v=4)](https://github.com/niladam "niladam (1 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)")

---

Tags

laraveldatefilternova

### Embed Badge

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

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

###  Alternatives

[marshmallow/nova-date-range-filter

A Laravel Nova date range filter.

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

A Laravel Nova date range filter.

16180.9k](/packages/pos-lifestyle-laravel-nova-date-range-filter)[outl1ne/nova-detached-filters

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

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

An input filter for Laravel Nova

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

Searchable Nova filter for belongsTo relationships.

29595.5k](/packages/suenerds-nova-searchable-belongs-to-filter)[nrml-co/nova-big-filter

A nice looking filter menu thats always open.

36315.4k](/packages/nrml-co-nova-big-filter)

PHPackages © 2026

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