PHPackages                             tapp/filament-value-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. tapp/filament-value-range-filter

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

tapp/filament-value-range-filter
================================

Filament country code field.

v2.0.4(3mo ago)2362.2k↓17.9%10[1 PRs](https://github.com/TappNetwork/filament-value-range-filter/pulls)MITPHPPHP ^8.2CI passing

Since Jun 20Pushed 3mo ago4 watchersCompare

[ Source](https://github.com/TappNetwork/filament-value-range-filter)[ Packagist](https://packagist.org/packages/tapp/filament-value-range-filter)[ Docs](https://github.com/TappNetwork/filament-value-range-filter)[ GitHub Sponsors](https://github.com/TappNetwork)[ RSS](/packages/tapp-filament-value-range-filter/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (10)Dependencies (11)Versions (16)Used By (0)

Filament Value Range Filter
===========================

[](#filament-value-range-filter)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4549f75b34369ae5192fc83184c6cca8b1b5af62465b0af542d788ca75311652/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746170702f66696c616d656e742d76616c75652d72616e67652d66696c7465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tapp/filament-value-range-filter)[![GitHub Tests Action Status](https://github.com/TappNetwork/filament-value-range-filter/actions/workflows/run-tests.yml/badge.svg)](https://github.com/TappNetwork/filament-value-range-filter/actions/workflows/run-tests.yml/badge.svg)[![Code Style Action Status](https://github.com/TappNetwork/filament-value-range-filter/actions/workflows/pint.yml/badge.svg)](https://github.com/TappNetwork/filament-value-range-filter/actions/workflows/pint.yml/badge.svg)[![Total Downloads](https://camo.githubusercontent.com/0496f1479e01453f5f31f36d9bb798f8d4216277eee4cf511de51c724b665a31/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746170702f66696c616d656e742d76616c75652d72616e67652d66696c7465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tapp/filament-value-range-filter)

A value range filter for Filament table builder.

Version Compatibility
---------------------

[](#version-compatibility)

FilamentFilament Value Range FilterDocumentation4.x/5.x2.xCurrent3.x1.x[Check the docs](https://github.com/TappNetwork/filament-value-range-filter/tree/1.x)Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require tapp/filament-value-range-filter:"^2.0"
```

Optionally, you can publish the translations files with:

```
php artisan vendor:publish --tag="filament-value-range-filter-translations"
```

Appareance
----------

[](#appareance)

[![Filament Value Range Filters](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/2.x/docs/filters.png)](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/2.x/docs/filters.png)

[![Filament Value Range Filter Options](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/2.x/docs/filter_range_options.png "Filament Value Range Filter Options")](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/2.x/docs/filter_range_options.png)

[![Filament Value Range Filter Greater Than Option](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/2.x/docs/filter_greater_than.png "Filament Value Range Filter Greater Than Option")](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/2.x/docs/filter_greater_than.png)

**Filter Indicators**

[![Filament Value Range Filter Between Indicator](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/2.x/docs/filter_indicator.png "Filament Value Range Filter Between Indicator")](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/2.x/docs/filter_indicator.png)

[![Filament Value Range Filter Greater Than Indicator](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/2.x/docs/greater_than_indicator.png "Filament Value Range Filter Greater Than Indicator")](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/2.x/docs/greater_than_indicator.png)

Usage
-----

[](#usage)

### Filter

[](#filter)

Add to your Filament resource:

```
use Tapp\FilamentValueRangeFilter\Filters\ValueRangeFilter;

public static function table(Table $table): Table
{
    return $table
        //...
        ->filters([
            ValueRangeFilter::make('project_value')
                    ->currency(),
            ValueRangeFilter::make('estimated_hours'),
            // ...
        ])
}
```

### Options

[](#options)

#### Currency

[](#currency)

You may use the `->currency()` method to format the values on placeholder and filter indicator as currency. The default currency format is `USD`.

```
ValueRangeFilter::make('project_value')
    ->currency(),
```

**Change the currency format**

The `->currencyCode()` and `->locale()` methods can be used to change the currency format. You can pass one of the [ISO 4217 currency codes](https://www.iban.com/currency-codes) to the `->currencyCode()` method.

```
ValueRangeFilter::make('project_value')
    ->currency()
    ->currencyCode('EUR')
    ->locale('fr'),
```

[![Filament Value Range Filter Between currency in EUR Indicator](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/2.x/docs/between_eur.png "Filament Value Range Filter Between currency in EUR Indicator")](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/2.x/docs/between_eur.png)

[![Filament Value Range Filter Between currency in EUR](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/2.x/docs/filter_indicator_eur.png "Filament Value Range Filter Between currency in EUR")](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/2.x/docs/filter_indicator_eur.png)

**Currency value**

When using currency values, the filter assumes that the value stored on database that will be compared with the provided value on filter is in the smallest unit of the currency (e.g., cents for USD). Therefore, the value provided in the filter is by default multiplied by 100 to be compared with the value stored in the database.

If the values stored in your database are not in the currency's smallest unit and you do not need the value provided in the filter to be multiplied by 100, pass 'false' to the `->currencyInSmallestUnit()` method:

```
ValueRangeFilter::make('project_value')
    ->currency()
    ->currencyInSmallestUnit(false),
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover any security-related issues, please email `security@tappnetwork.com`.

Credits
-------

[](#credits)

- [Tapp Network](https://github.com/TappNetwork)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance78

Regular maintenance activity

Popularity42

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 68.7% 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 ~41 days

Recently: every ~34 days

Total

15

Last Release

118d ago

Major Versions

v1.0.5 → v2.0.02025-06-19

v1.0.6 → v2.0.12025-06-26

1.x-dev → v2.0.42026-01-20

PHP version history (2 changes)v1.0.0PHP ^8.1

v2.0.0PHP ^8.2

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/4c469e4e441a135287b2154a0a39f543893cbe1e2c3ab066e3e7c66a974a39e2?d=identicon)[scottgrayson](/maintainers/scottgrayson)

![](https://www.gravatar.com/avatar/5d0402fb770bca016dd6ee6a925501e0224783f1e5907788aee0ba7bc31c01ee?d=identicon)[andreiabohner](/maintainers/andreiabohner)

![](https://www.gravatar.com/avatar/5ac72d31fcf96191b82f452d6df6990219c5ffdfd7673859d3fa46cf1dd6193b?d=identicon)[johnwesely](/maintainers/johnwesely)

---

Top Contributors

[![andreia](https://avatars.githubusercontent.com/u/38911?v=4)](https://github.com/andreia "andreia (46 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")[![CodeWithDennis](https://avatars.githubusercontent.com/u/23448484?v=4)](https://github.com/CodeWithDennis "CodeWithDennis (1 commits)")[![pmcpimentel](https://avatars.githubusercontent.com/u/14362044?v=4)](https://github.com/pmcpimentel "pmcpimentel (1 commits)")[![rafaelvizu](https://avatars.githubusercontent.com/u/68239414?v=4)](https://github.com/rafaelvizu "rafaelvizu (1 commits)")[![vierilusen](https://avatars.githubusercontent.com/u/45114627?v=4)](https://github.com/vierilusen "vierilusen (1 commits)")

---

Tags

filamentfilamentphpfilterlaravelpluginrangevaluelaravelfilterfilamenttapp networkvalue range

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/tapp-filament-value-range-filter/health.svg)

```
[![Health](https://phpackages.com/badges/tapp-filament-value-range-filter/health.svg)](https://phpackages.com/packages/tapp-filament-value-range-filter)
```

###  Alternatives

[webbingbrasil/filament-advancedfilter

Advanced filter component for filament admin.

146132.1k](/packages/webbingbrasil-filament-advancedfilter)[tapp/filament-auditing

Filament Laravel Auditing plugin.

113379.4k2](/packages/tapp-filament-auditing)[webbingbrasil/filament-datefilter

Date filter component for filament tables.

1479.4k](/packages/webbingbrasil-filament-datefilter)[kainiklas/filament-scout

Filament Plugin to integrate Scout into Global Search and Table Search.

3573.3k](/packages/kainiklas-filament-scout)[tapp/filament-google-autocomplete-field

Filament plugin that provides a Google Autocomplete field

3098.1k](/packages/tapp-filament-google-autocomplete-field)[pos-lifestyle/laravel-nova-date-range-filter

A Laravel Nova date range filter.

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

PHPackages © 2026

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