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

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

codercms/filament-value-range-filter
====================================

Filament country code field.

1.0.4(6mo ago)026MITPHPPHP ^8.3

Since Jul 25Pushed 6mo agoCompare

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

READMEChangelog (4)Dependencies (12)Versions (5)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.

Installation
------------

[](#installation)

```
composer require tapp/filament-value-range-filter
```

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/main/docs/filters.png)](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/main/docs/filters.png)

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

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

**Filter Indicators**

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

[![Filament Value Range Filter Greater Than Indicator](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/main/docs/greater_than_indicator.png "Filament Value Range Filter Greater Than Indicator")](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/main/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/main/docs/between_eur.png "Filament Value Range Filter Between currency in EUR Indicator")](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/main/docs/between_eur.png)

[![Filament Value Range Filter Between currency in EUR](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/main/docs/filter_indicator_eur.png "Filament Value Range Filter Between currency in EUR")](https://raw.githubusercontent.com/TappNetwork/filament-value-range-filter/main/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

38

—

LowBetter than 83% of packages

Maintenance66

Regular maintenance activity

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

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

Total

4

Last Release

196d ago

Major Versions

0.0.2 → 1.0.32025-06-13

PHP version history (2 changes)0.0.1PHP ^8.1

1.0.3PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/41348018d9b5a065cd3f4ae969e40f8a50b8e14317723847f609704e790c49e8?d=identicon)[codercms](/maintainers/codercms)

---

Top Contributors

[![andreia](https://avatars.githubusercontent.com/u/38911?v=4)](https://github.com/andreia "andreia (7 commits)")[![codercms](https://avatars.githubusercontent.com/u/4526911?v=4)](https://github.com/codercms "codercms (7 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

---

Tags

laravelfilterfilamenttapp networkvalue range

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[tapp/filament-value-range-filter

Filament country code field.

2487.8k](/packages/tapp-filament-value-range-filter)[webbingbrasil/filament-advancedfilter

Advanced filter component for filament admin.

148146.7k](/packages/webbingbrasil-filament-advancedfilter)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

85240.3k9](/packages/stephenjude-filament-two-factor-authentication)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3915.5k](/packages/rawilk-profile-filament-plugin)[backstage/mails

View logged mails and events in a beautiful Filament UI.

16429.7k](/packages/backstage-mails)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

6758.2k2](/packages/marcelweidum-filament-passkeys)

PHPackages © 2026

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