PHPackages                             marshmallow/nova-date-range-field - 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. marshmallow/nova-date-range-field

ActiveLibrary

marshmallow/nova-date-range-field
=================================

A Laravel Nova field.

5.0.0(8mo ago)38.6k—0%3MITCSSPHP ^8.3

Since Feb 23Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/marshmallow-packages/nova-date-range-field)[ Packagist](https://packagist.org/packages/marshmallow/nova-date-range-field)[ RSS](/packages/marshmallow-nova-date-range-field/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (1)Versions (9)Used By (0)

Date Range Field for Laravel Nova
---------------------------------

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

Nova field for a Date Range Picker.

### Install

[](#install)

Run this command in your nova project: `composer require marshmallow/nova-date-range-field`

### How to use

[](#how-to-use)

Use the (dependend) DateRange Field class and define the name of the (from &amp; till) fields and the label. If no fields are set the string value will be stored in the corresponding database column of the attribute.

```
    use Marshmallow\NovaDateRangeField\DateRange;

    public function fields(Request $request)
    {
        return [
             DateRange::make(__('Access Date'), ['from', 'till'])
                // OR
             DateRange::make(__('Access Date'))
                ->fields('from', 'till'),
        ];
    }
```

Aditional options from [flatpickr](https://flatpickr.js.org/options/) can be used by adding them in the options array. These will overwrite the default options.

```
     DateRange::make(__('Date range'))
        ->fields('from', 'till')
        ->options([
            'defaultHour' => 0,
            'defaultMinute' => 0,
        ]),
```

Other field options (with their default values) are:

```
    ->modeType('range')
    ->range() // Default mode
    ->single() // default is disabled
    ->twelveHourTime() // default is disabled
    ->enableSeconds() // default is disabled
    ->separator('-')
    ->firstDayOfWeek(1)
    ->enableTime() // default is disabled
    ->dateFormat('Y-m-d')
    ->placeholder('date range')
    ->saveAsJSON() // default is disabled
```

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance59

Moderate activity, may be stable

Popularity30

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 76.5% of commits — single point of failure

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

Recently: every ~228 days

Total

8

Last Release

263d ago

Major Versions

v1.x-dev → 5.0.02025-08-28

PHP version history (2 changes)v1.0.0PHP ^7.3|^8.0

5.0.0PHP ^8.3

### Community

Maintainers

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

---

Top Contributors

[![LTKort](https://avatars.githubusercontent.com/u/2412670?v=4)](https://github.com/LTKort "LTKort (13 commits)")[![stefvanesch](https://avatars.githubusercontent.com/u/46725619?v=4)](https://github.com/stefvanesch "stefvanesch (3 commits)")[![shuvroroy](https://avatars.githubusercontent.com/u/21066418?v=4)](https://github.com/shuvroroy "shuvroroy (1 commits)")

---

Tags

laravelnova

### Embed Badge

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

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

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[coreproc/nova-notification-feed

A Laravel Nova package that adds a notification feed in your Nova app.

10149.1k](/packages/coreproc-nova-notification-feed)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[cybercog/laravel-nova-ban

A Laravel Nova banning functionality for your application.

40199.8k](/packages/cybercog-laravel-nova-ban)[insenseanalytics/nova-server-monitor

A Laravel Nova tool for Spatie's Server Monitor library.

6546.9k](/packages/insenseanalytics-nova-server-monitor)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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