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(10mo ago)04MITPHPPHP ^8.2CI failing

Since Aug 21Pushed 10mo 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 today

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

27

—

LowBetter than 47% of packages

Maintenance54

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

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

316d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/70496020?v=4)[Mário](/maintainers/araga-dev)[@araga-dev](https://github.com/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

[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

122177.8k1](/packages/stephenjude-filament-feature-flags)[ysfkaya/filament-phone-input

A phone input component for Laravel Filament

3161.3M25](/packages/ysfkaya-filament-phone-input)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

94135.4k5](/packages/marcelweidum-filament-expiration-notice)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

84215.9k9](/packages/stephenjude-filament-two-factor-authentication)

PHPackages © 2026

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