PHPackages                             araga-dev/filament-invertible-fields - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. araga-dev/filament-invertible-fields

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

araga-dev/filament-invertible-fields
====================================

Invertible (include/except) fields and table filters for Filament 4 (MultiSelect &amp; TextInput).

v0.0.1(8mo ago)04MITPHPPHP ^8.2CI failing

Since Aug 21Pushed 8mo agoCompare

[ Source](https://github.com/araga-dev/filament-invertible-fields)[ Packagist](https://packagist.org/packages/araga-dev/filament-invertible-fields)[ RSS](/packages/araga-dev-filament-invertible-fields/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Filament Invertible Fields
==========================

[](#filament-invertible-fields)

Fields **and** Table Filters for Filament 4 that let users switch between **Include (Only)** and **Exclude (Except)** modes with a single toggle.

Included:

- `InvertibleMultiSelect` + `InvertibleMultiSelectFilter`
- `InvertibleTextInput` + `InvertibleTextInputFilter` (comma-separated by default)
- Package: `araga-dev/filament-invertible-fields`
- Namespace: `Araga\FilamentInvertibleFields`
- View namespace: `filament-invertible-fields::`
- Translations: `resources/lang/en`, `resources/lang/pt_BR`

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

[](#installation)

```
composer require araga-dev/filament-invertible-fields
```

(Laravel will auto-discover the service provider.)

Optional:

```
php artisan vendor:publish --tag="filament-invertible-fields-views"
php artisan vendor:publish --tag="filament-invertible-fields-translations"
```

Usage
-----

[](#usage)

### MultiSelect Filter

[](#multiselect-filter)

```
use Araga\FilamentInvertibleFields\Tables\Filters\InvertibleMultiSelectFilter;

InvertibleMultiSelectFilter::make('status')
    ->label(__('filament-invertible-fields::messages.status'))
    ->column('status')
    ->options([
        'draft' => 'Draft',
        'published' => 'Published',
        'archived' => 'Archived',
    ]);
```

### MultiSelect Field

[](#multiselect-field)

```
use Araga\FilamentInvertibleFields\Forms\Components\InvertibleMultiSelect;

InvertibleMultiSelect::make('values')
    ->options([ '1' => 'One', '2' => 'Two' ]);
```

### Text Filter (comma-separated list by default)

[](#text-filter-comma-separated-list-by-default)

```
use Araga\FilamentInvertibleFields\Tables\Filters\InvertibleTextInputFilter;

InvertibleTextInputFilter::make('sku')
    ->label(__('filament-invertible-fields::messages.sku'))
    ->column('sku')
    ->listSeparator(','); // "123, 456, 789"
```

### Text Field

[](#text-field)

```
use Araga\FilamentInvertibleFields\Forms\Components\InvertibleTextInput;

InvertibleTextInput::make('values')
    ->listSeparator(','); // optional
```

i18n
----

[](#i18n)

- English and Brazilian Portuguese included.
- You can publish and edit the translation files with the command above.

License
-------

[](#license)

MIT

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance59

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

261d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c8d687840ba14db8849c6c77191446b607daca768e76d9c2f58e1131f1e2d9d0?d=identicon)[araga-dev](/maintainers/araga-dev)

---

Top Contributors

[![araga-dev](https://avatars.githubusercontent.com/u/70496020?v=4)](https://github.com/araga-dev "araga-dev (2 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/araga-dev-filament-invertible-fields/health.svg)

```
[![Health](https://phpackages.com/badges/araga-dev-filament-invertible-fields/health.svg)](https://phpackages.com/packages/araga-dev-filament-invertible-fields)
```

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[datlechin/filament-menu-builder

Create and manage menus and menu items

13550.3k2](/packages/datlechin-filament-menu-builder)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[codewithdennis/filament-lucide-icons

A Filament plugin that integrates Lucide icons, allowing you to use them seamlessly across Filament forms, tables, actions, and more.

4529.4k2](/packages/codewithdennis-filament-lucide-icons)[joaopaulolndev/filament-world-clock

Show hours around the world by timezone

3111.9k](/packages/joaopaulolndev-filament-world-clock)

PHPackages © 2026

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