PHPackages                             novadaemon/filament-combobox - 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. novadaemon/filament-combobox

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

novadaemon/filament-combobox
============================

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

v3.0.0(3mo ago)2618.1k—6.9%9[3 issues](https://github.com/novadaemon/filament-combobox/issues)MITJavaScriptPHP ^8.2

Since Aug 1Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/novadaemon/filament-combobox)[ Packagist](https://packagist.org/packages/novadaemon/filament-combobox)[ Docs](https://github.com/novadaemon/filament-combobox)[ GitHub Sponsors](https://github.com/novadaemon)[ RSS](/packages/novadaemon-filament-combobox/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (24)Used By (0)

novadaemon/filament-combobox
============================

[](#novadaemonfilament-combobox)

Side by side combobox multiselect field to use in your [FilamentPHP](https://filamentphp.com/) forms.

 [![Cover](resources/img/filament-combobox.jpg)](resources/img/filament-combobox.jpg)

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

[](#installation)

You can install the package via composer:

```
composer require novadaemon/filament-combobox
```

This package supports Filament 3.x and 4.x

Usage
-----

[](#usage)

Simply use the component as you'd use any other Filament field. It's especially perfect for the resource view page where it blends right in.

```
use Novadaemon\FilamentCombobox\Combobox;

class FileResource extends Resource
{
    public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Combobox::make('vegetables')
                ->options([
                    'carrot' => 'Carrot',
                    'potato' => 'Potato',
                    'tomato' => 'Tomato',
                ])
            ]);
    }
}
```

Since the Combobox component extends the **Filament\\Forms\\Components\\Select** class, it is possible to use almost all methods of the parent component.

### Integrating with an Eloquent relationship

[](#integrating-with-an-eloquent-relationship)

```
use Novadaemon\FilamentCombobox\Combobox;

class FileResource extends Resource
{
    public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Combobox::make('categories')
                ->relationship('categories', 'name')
            ]);
    }
}
```

Customize
---------

[](#customize)

### Enabling search in the boxes

[](#enabling-search-in-the-boxes)

```
use Novadaemon\FilamentCombobox\Combobox;

class FileResource extends Resource
{
    public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Combobox::make('categories')
                ->relationship('categories', 'name')
                ->boxSearchs()
            ]);
    }
}
```

The `boxSearchs` method accepts a boolean or closure callback function.

```
class FileResource extends Resource
{
    public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Combobox::make('categories')
                ->relationship('categories', 'name')
                ->boxSearchs(fn() => auth()->user()->isAdmin())
            ]);
    }
}
```

### Modifying the height of the component

[](#modifying-the-height-of-the-component)

Yo can change the height of the component using the `height` method:

```
class FileResource extends Resource
{
    public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Combobox::make('categories')
                ->relationship('categories', 'name')
                ->height('500px')
            ]);
    }
}
```

Customize the label of the boxes
--------------------------------

[](#customize-the-label-of-the-boxes)

Changing the label of the boxes:

```
class FileResource extends Resource
{
    public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Combobox::make('categories')
                ->relationship('categories', 'name')
                ->optionsLabel('Available categories')
                ->selectedLabel('Selected categories')
            ]);
    }
}
```

Hiding the label on the boxes:

```
class FileResource extends Resource
{
    public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Combobox::make('categories')
                ->relationship('categories', 'name')
                ->showLabels(false)
            ]);
    }
}
```

Translations
------------

[](#translations)

Optionally, you can publish the translations using

```
php artisan vendor:publish --tag="filament-combobox-translations"
```

Now, yo can modify or add custom translation files.

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

[](#contributing)

Contributing is pretty chill and is highly appreciated! Just send a PR and/or create an issue!

Credits
-------

[](#credits)

- [All contributors](https://github.com/novadaemon/filament-combobox/contributors)

License
-------

[](#license)

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

Screenshot
----------

[](#screenshot)

[![Screenshot](https://raw.githubusercontent.com/novadaemon/filament-combobox/refs/heads/main/resources/img/screenshot.webp)](https://raw.githubusercontent.com/novadaemon/filament-combobox/refs/heads/main/resources/img/screenshot.webp)

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance75

Regular maintenance activity

Popularity39

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 77.1% 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 ~24 days

Recently: every ~10 days

Total

23

Last Release

119d ago

Major Versions

v1.2.0 → v2.0.02025-08-19

v2.1.1 → v3.0.02026-01-20

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

v3.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a2b8dbce5ab10f31ba882dcb74addce2d9ebeb24d67468882e0237b10748ad3?d=identicon)[novadaemon](/maintainers/novadaemon)

---

Top Contributors

[![novadaemon](https://avatars.githubusercontent.com/u/11314101?v=4)](https://github.com/novadaemon "novadaemon (27 commits)")[![Eoin-k](https://avatars.githubusercontent.com/u/100050380?v=4)](https://github.com/Eoin-k "Eoin-k (3 commits)")[![YasinKose](https://avatars.githubusercontent.com/u/58294158?v=4)](https://github.com/YasinKose "YasinKose (3 commits)")[![andrefelipe18](https://avatars.githubusercontent.com/u/96439642?v=4)](https://github.com/andrefelipe18 "andrefelipe18 (1 commits)")[![Jacobtims](https://avatars.githubusercontent.com/u/75219092?v=4)](https://github.com/Jacobtims "Jacobtims (1 commits)")

---

Tags

filamentphplaravellaravelfieldselectFormsmultiplefilamentnovadaemonComboboxfilament-combobox

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/novadaemon-filament-combobox/health.svg)

```
[![Health](https://phpackages.com/badges/novadaemon-filament-combobox/health.svg)](https://phpackages.com/packages/novadaemon-filament-combobox)
```

###  Alternatives

[novadaemon/filament-pretty-json

Read-only field to show pretty json in your filamentphp forms

44359.2k2](/packages/novadaemon-filament-pretty-json)[defstudio/filament-searchable-input

A searchable autocomplete input for Filament forms

3212.4k](/packages/defstudio-filament-searchable-input)[relaticle/custom-fields

User Defined Custom Fields for Laravel Filament

15828.6k](/packages/relaticle-custom-fields)[rawilk/filament-password-input

Enhanced password input component for filament.

52232.4k3](/packages/rawilk-filament-password-input)[schmeits/filament-character-counter

This is a Filament character counter TextField and Textarea form field for Filament v4 and v5

33184.7k6](/packages/schmeits-filament-character-counter)[cocosmos/filament-quick-add-select

Instantly create and select new options in Filament relationship selects without opening modals

131.3k](/packages/cocosmos-filament-quick-add-select)

PHPackages © 2026

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