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(5mo ago)2625.9k↓25.8%9[3 issues](https://github.com/novadaemon/filament-combobox/issues)MITJavaScriptPHP ^8.2

Since Aug 1Pushed 5mo 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 2d 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

50

—

FairBetter than 95% of packages

Maintenance69

Regular maintenance activity

Popularity40

Moderate usage in the ecosystem

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

165d 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://avatars.githubusercontent.com/u/11314101?v=4)[Jesús García](/maintainers/novadaemon)[@novadaemon](https://github.com/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

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[novadaemon/filament-pretty-json

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

47471.9k2](/packages/novadaemon-filament-pretty-json)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[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)[relaticle/custom-fields

User Defined Custom Fields for Laravel Filament

16354.2k](/packages/relaticle-custom-fields)

PHPackages © 2026

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