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

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

prvious/filament-combobox
=========================

Combobox for Filament Panel

5.0.0(2mo ago)0387↓50%1[5 PRs](https://github.com/prvious/combobox/pulls)MITJavaScriptPHP ^8.2

Since Oct 16Pushed 1mo agoCompare

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

READMEChangelog (4)Dependencies (19)Versions (13)Used By (0)

Filament Combobox
=================

[](#filament-combobox)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b8465cba8b4b6663f1ccf8b9e3e4f8cf104b2f2cfc41cad1bd0384e01c1f3267/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707276696f75732f66696c616d656e742d636f6d626f626f782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/prvious/filament-combobox)[![GitHub Tests Action Status](https://camo.githubusercontent.com/4a64d47ccaf199698cc96fa3a47625088a829f1d127a3489b6677d8d71be6333/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f707276696f75732f66696c616d656e742d636f6d626f626f782f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/prvious/filament-combobox/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/40da0b9b3c138f8daf0d15e4b7d95900b710494b85ef180d010ea0a4c560e135/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f707276696f75732f66696c616d656e742d636f6d626f626f782f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/prvious/filament-combobox/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/88b9c299ce3bbb2dee3dfb15d3f0ac372cea493e1aa3dcb03d67377b3b6e3ccb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707276696f75732f66696c616d656e742d636f6d626f626f782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/prvious/filament-combobox)

Description bla bla bla ...

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

[](#installation)

You can install the package via composer:

```
composer require prvious/filament-combobox
```

Optionally, you can publish the views using

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

This is the contents of the published config file:

```
return [
];
```

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

```
use Prvious\Filament\Combobox\Components\Combobox;

Combobox::make('status')
    ->options([
        'draft' => 'Draft',
        'published' => 'Published',
        'archived' => 'Archived',
    ])
```

### Setting a Search Query

[](#setting-a-search-query)

You can set a search query that will be displayed in the search input when the component loads:

```
Combobox::make('product')
    ->searchable()
    ->options([
        // your options
    ])
    ->searchQuery('electronics')
```

This will populate the search input with "electronics" but will not trigger a search automatically.

### Auto-Triggering a Search on Load

[](#auto-triggering-a-search-on-load)

If you want to perform a search automatically when the component boots, use the `autoSearch()` method along with `searchQuery()`:

```
Combobox::make('product')
    ->searchable()
    ->getSearchResultsUsing(function (string $search) {
        return Product::where('name', 'like', "%{$search}%")
            ->limit(50)
            ->pluck('name', 'id')
            ->toArray();
    })
    ->searchQuery('electronics')
    ->autoSearch()
```

This is useful when you want to pre-filter options based on context, such as:

- Showing products from a specific category
- Filtering items based on user permissions
- Displaying search results based on a related field value

You can also conditionally enable auto-search:

```
Combobox::make('product')
    ->searchable()
    ->searchQuery($categoryName)
    ->autoSearch(filled($categoryName))
```

**Note:** The `autoSearch()` method requires that the component is searchable and has a search handler configured.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Clovis Muneza](https://github.com/prvious)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance87

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.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 ~33 days

Total

5

Last Release

80d ago

Major Versions

0.0.2 → 4.0.02026-02-27

4.x-dev → 5.0.02026-02-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/125c7bea71d8d2947e19fe2a306a6fe65f2e3b442655e121f52c69b350a79549?d=identicon)[clovis](/maintainers/clovis)

---

Top Contributors

[![munezaclovis](https://avatars.githubusercontent.com/u/51137458?v=4)](https://github.com/munezaclovis "munezaclovis (49 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (9 commits)")[![clovis-mo](https://avatars.githubusercontent.com/u/163348929?v=4)](https://github.com/clovis-mo "clovis-mo (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelfilament-comboboxprvious

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[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.

320392.1k17](/packages/codewithdennis-filament-select-tree)[ralphjsmit/laravel-filament-components

A collection of reusable components for Filament.

10972.2k2](/packages/ralphjsmit-laravel-filament-components)[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)[defstudio/filament-searchable-input

A searchable autocomplete input for Filament forms

3212.4k](/packages/defstudio-filament-searchable-input)[codebar-ag/laravel-filament-json-field

A Laravel Filament JSON Field integration with CodeMirror support

1124.1k](/packages/codebar-ag-laravel-filament-json-field)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

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