PHPackages                             linhntaim/advanced-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. [Templating &amp; Views](/categories/templating)
4. /
5. linhntaim/advanced-fields

ActiveLibrary[Templating &amp; Views](/categories/templating)

linhntaim/advanced-fields
=========================

Advanced Fields for Filament's Form Builders.

1.0.3(3mo ago)15MITPHPPHP ^8.2

Since Jan 29Pushed 3mo agoCompare

[ Source](https://github.com/linhntaim/advanced-fields)[ Packagist](https://packagist.org/packages/linhntaim/advanced-fields)[ Docs](https://github.com/linhntaim/advanced-fields)[ RSS](/packages/linhntaim-advanced-fields/feed)WikiDiscussions master Synced 1mo ago

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

Advanced Fields for Filament's Form Builders
============================================

[](#advanced-fields-for-filaments-form-builders)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d727fd770cb84028a156892e70d8b6eb3626b900303f237bab7e8742e973f766/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c696e686e7461696d2f616476616e6365642d6669656c64732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/linhntaim/advanced-fields)[![Total Downloads](https://camo.githubusercontent.com/352230b2350f9267efd191f6a3d229637b5e43ae817c585f25c0a86b27c733b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c696e686e7461696d2f616476616e6365642d6669656c64732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/linhntaim/advanced-fields)

Multiple Choice Grid/Radio Grid, Checkbox Grid, ... and more.

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

[](#installation)

You can install the package via composer:

```
composer require linhntaim/advanced-fields
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="advanced-fields-views"
```

Usage
-----

[](#usage)

### Grid Fields

[](#grid-fields)

Supports: `RadioGrid`, `CheckboxGrid`.

```
use Filament\Schemas\Schema;
use LinhntAim\AdvancedFields\RadioGrid;
use LinhntAim\AdvancedFields\CheckboxGrid;

public function mount(): void
{
    $this->form->fill([

        // format of the state used for RadioGrid
        'filled_radio_grid' => [
            'row_1' => 'column_c',
            'row_2' => 'column_b',
            'row_3' => 'column_a',
        ],

        // format of the state used for CheckboxGrid
        'filled_checkbox_grid' => [
            'row_1' => [
                'column_c',
                'column_a',
            ],
            'row_2' => [
                'column_b',
                'column_c',
            ],
            'row_3' => [
                'column_a',
                'column_b',
            ],
        ],

    ]);
}

public function form(Schema $schema): Schema
{
    return $schema->components([

        ...,

        RadioGrid::make('radio_grid')
            ->options([
                'column_a' => 'Column A',
                'column_b' => 'Column B',
                'column_c' => 'Column C',
            ])
            ->rows([
                'row_1' => 'Row 1',
                'row_2' => 'Row 2',
                'row_3' => 'Row 3',
            ])
            // optionally, (one) radio must be checked in each row
            ->required()
            // optionally, disable specific column option(s)
            ->disableOptionWhen(fn($value) => $value == 'column_b')
            // optionally, set the label of the "Clear selection" button
            // - note: the button will be shown after checking any radio if not required
            ->clearButtonLabel('X'),

        ...,

        CheckboxGrid::make('checkbox_grid')
            ->options([
                'column_a' => 'Column A',
                'column_b' => 'Column B',
                'column_c' => 'Column C',
            ])
            ->rows([
                'row_1' => 'Row 1',
                'row_2' => 'Row 2',
                'row_3' => 'Row 3',
            ])
            // optionally, at least one checkbox must be checked in each row
            ->required()
            // optionally, disable specific column option(s)
            ->disableOptionWhen(fn($value) => $value == 'column_b'),

        ...,

    ]);
}
```

[![Sample light theme](./docs/assets/images/usage-light.png)](./docs/assets/images/usage-light.png)

[![Sample dark theme](./docs/assets/images/usage-dark.png)](./docs/assets/images/usage-dark.png)

Changelog
---------

[](#changelog)

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

License
-------

[](#license)

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

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance82

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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

Every ~4 days

Total

4

Last Release

97d ago

### Community

Maintainers

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

---

Top Contributors

[![linhntaim](https://avatars.githubusercontent.com/u/6326961?v=4)](https://github.com/linhntaim "linhntaim (7 commits)")

---

Tags

checkbox-gridcheckbox-listfilamentfilament-fieldfilament-formfilament-pluginfilamentphplaravelmultiple-choicemultiple-choice-gridradio-gridlaravelgridcomponentformfieldcheckboxfilamentmultiple choiceradiomultiple-choice-gridradio-gridcheckbox-grid

### Embed Badge

![Health badge](/badges/linhntaim-advanced-fields/health.svg)

```
[![Health](https://phpackages.com/badges/linhntaim-advanced-fields/health.svg)](https://phpackages.com/packages/linhntaim-advanced-fields)
```

###  Alternatives

[silvanite/novafieldcheckboxes

A Laravel Nova field to display a number of multi-select options using checkboxes.

70846.9k1](/packages/silvanite-novafieldcheckboxes)[novadaemon/filament-combobox

Side by side combobox multiselect field to use in your FilamentPHP forms

2618.1k](/packages/novadaemon-filament-combobox)[andreia/filament-nord-theme

A minimalist Arctic Nord theme for FilamentPHP

13334.7k2](/packages/andreia-filament-nord-theme)[itstructure/laravel-grid-view

Grid view for laravel framework

2546.6k2](/packages/itstructure-laravel-grid-view)[tonegabes/filament-better-options

Filament form components for better radio and checkbox options.

155.2k](/packages/tonegabes-filament-better-options)[codewithdennis/filament-price-filter

A simple and customizable price filter for FilamentPHP, allowing users to easily refine results based on specified price ranges.

163.2k](/packages/codewithdennis-filament-price-filter)

PHPackages © 2026

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