PHPackages                             digital-creative/nova-slider-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. digital-creative/nova-slider-filter

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

digital-creative/nova-slider-filter
===================================

A Laravel Nova filter for picking range between a min/max value.

v1.0.1(2y ago)1369.1k↓41.9%4[1 issues](https://github.com/dcasia/nova-slider-filter/issues)MITVuePHP &gt;=8.0

Since Dec 5Pushed 2y ago2 watchersCompare

[ Source](https://github.com/dcasia/nova-slider-filter)[ Packagist](https://packagist.org/packages/digital-creative/nova-slider-filter)[ RSS](/packages/digital-creative-nova-slider-filter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (11)Used By (0)

Nova Slider Filter
==================

[](#nova-slider-filter)

[![Latest Version on Packagist](https://camo.githubusercontent.com/287e9e8f8b46e95f9f97d5a9d385d7bb239714491387edab78b572881a501980/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6469676974616c2d63726561746976652f6e6f76612d736c696465722d66696c746572)](https://packagist.org/packages/digital-creative/nova-slider-filter)[![Total Downloads](https://camo.githubusercontent.com/71dc500a8a3afc4af8242924da5f4368bc4f007f5744e8dc3ab3edb1a26449cc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6469676974616c2d63726561746976652f6e6f76612d736c696465722d66696c746572)](https://packagist.org/packages/digital-creative/nova-slider-filter)[![License](https://camo.githubusercontent.com/51c136a77308fffd82867be1be98e6de83b316c79ef0695b7f93eb9353c620a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6469676974616c2d63726561746976652f6e6f76612d736c696465722d66696c746572)](https://github.com/dcasia/nova-slider-filter/blob/main/LICENSE)

A Laravel Nova filter for picking range between a min/max value.

  ![SliderFilter in Action](https://raw.githubusercontent.com/dcasia/nova-slider-filter/main/screenshots/light.png)Installation
============

[](#installation)

You can install the package via composer:

```
composer require digital-creative/nova-slider-filter
```

Basic Usage
-----------

[](#basic-usage)

Create a filter as usual and extend the `DigitalCreative\SliderFilter\SliderFilter` class

```
use DigitalCreative\SliderFilter\SliderFilter;

class MyFilter extends SliderFilter {

    public function apply(NovaRequest $request, $query, $values)
    {
        // $values will be an array when using ->range() and int when using ->single()
    }

}
```

and use it as usual on the filters methods within your resource class:

```
class ExampleNovaResource extends Resource {

    public function filters(NovaRequest $request): array
    {
        return [
            MyFilter::make()->single(min: 0, max: 100),
        ];
    }

}
```

Calling the `->range()` method will render a slider with two (or more) handles, while calling the `single()` method will render a slider with a single handle.

```
class ExampleNovaResource extends Resource {

    public function filters(NovaRequest $request): array
    {
        return [
            MyFilter::make()
                ->range(0, 500, 300)
                ->label('${value}')

            MyFilter::make()
                ->single(min: 0, max: 500)
                ->label('${value}')
        ];
    }

}
```

You can also set marks on the slider by using the `->marks()` method. The method accepts an array of key/value pairs where the key is the value of the mark and the value is the label to be displayed.

```
class ExampleNovaResource extends Resource {

    public function filters(NovaRequest $request): array
    {
        return [
            MyFilter::make()
                ->single(0, 100)
                ->marks([
                    '0' => '🌑',
                    '50' => '🌓',
                    '100' => '🌕'
                ])
        ];
    }

}
```

⭐️ Show Your Support
--------------------

[](#️-show-your-support)

Please give a ⭐️ if this project helped you!

### Other Packages You Might Like

[](#other-packages-you-might-like)

- [Nova Dashboard](https://github.com/dcasia/nova-dashboard) - The missing dashboard for Laravel Nova!
- [Nova Welcome Card](https://github.com/dcasia/nova-welcome-card) - A configurable version of the `Help card` that comes with Nova.
- [Icon Action Toolbar](https://github.com/dcasia/icon-action-toolbar) - Replaces the default boring action menu with an inline row of icon-based actions.
- [Expandable Table Row](https://github.com/dcasia/expandable-table-row) - Provides an easy way to append extra data to each row of your resource tables.
- [Collapsible Resource Manager](https://github.com/dcasia/collapsible-resource-manager) - Provides an easy way to order and group your resources on the sidebar.
- [Resource Navigation Tab](https://github.com/dcasia/resource-navigation-tab) - Organize your resource fields into tabs.
- [Resource Navigation Link](https://github.com/dcasia/resource-navigation-link) - Create links to internal or external resources.
- [Nova Mega Filter](https://github.com/dcasia/nova-mega-filter) - Display all your filters in a card instead of a tiny dropdown!
- [Nova Pill Filter](https://github.com/dcasia/nova-pill-filter) - A Laravel Nova filter that renders into clickable pills.
- [Nova Slider Filter](https://github.com/dcasia/nova-slider-filter) - A Laravel Nova filter for picking range between a min/max value.
- [Nova Range Input Filter](https://github.com/dcasia/nova-range-input-filter) - A Laravel Nova range input filter.
- [Nova FilePond](https://github.com/dcasia/nova-filepond) - A Nova field for uploading File, Image and Video using Filepond.
- [Custom Relationship Field](https://github.com/dcasia/custom-relationship-field) - Emulate HasMany relationship without having a real relationship set between resources.
- [Column Toggler](https://github.com/dcasia/column-toggler) - A Laravel Nova package that allows you to hide/show columns in the index view.
- [Batch Edit Toolbar](https://github.com/dcasia/batch-edit-toolbar) - Allows you to update a single column of a resource all at once directly from the index page.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://raw.githubusercontent.com/dcasia/nova-slider-filter/master/LICENSE) for more information.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 65% 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 ~155 days

Recently: every ~348 days

Total

10

Last Release

960d ago

Major Versions

v0.1.7 → v1.0.02023-09-30

PHP version history (2 changes)v0.1.0PHP &gt;=7.1.0

v1.0.0PHP &gt;=8.0

### Community

Maintainers

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

---

Top Contributors

[![milewski](https://avatars.githubusercontent.com/u/2874967?v=4)](https://github.com/milewski "milewski (13 commits)")[![max-yilang](https://avatars.githubusercontent.com/u/16163450?v=4)](https://github.com/max-yilang "max-yilang (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

filterlaravelnova4range-sliderlaravelfiltersliderrangenova

### Embed Badge

![Health badge](/badges/digital-creative-nova-slider-filter/health.svg)

```
[![Health](https://phpackages.com/badges/digital-creative-nova-slider-filter/health.svg)](https://phpackages.com/packages/digital-creative-nova-slider-filter)
```

###  Alternatives

[digital-creative/nova-range-input-filter

A Laravel Nova range input filter.

18209.3k1](/packages/digital-creative-nova-range-input-filter)[pos-lifestyle/laravel-nova-date-range-filter

A Laravel Nova date range filter.

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

Multiselect filter for Laravel Nova.

45802.7k3](/packages/outl1ne-nova-multiselect-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)[digital-creative/nova-mega-filter

Allows you to control the columns and filters shown on your nova resources.

87159.3k](/packages/digital-creative-nova-mega-filter)[optimistdigital/nova-detached-filters

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

64235.5k](/packages/optimistdigital-nova-detached-filters)

PHPackages © 2026

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