PHPackages                             howdu/filament-record-switcher - 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. howdu/filament-record-switcher

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

howdu/filament-record-switcher
==============================

Resource level navigation with search

v2.0.3(3mo ago)1512.5k↑11.1%1[3 PRs](https://github.com/howdu/filament-record-switcher/pulls)MITPHPPHP ^8.2CI passing

Since Jun 25Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/howdu/filament-record-switcher)[ Packagist](https://packagist.org/packages/howdu/filament-record-switcher)[ Docs](https://github.com/howdu/filament-record-switcher)[ GitHub Sponsors](https://github.com/howdu)[ RSS](/packages/howdu-filament-record-switcher/feed)WikiDiscussions 4.x Synced 1mo ago

READMEChangelog (10)Dependencies (18)Versions (20)Used By (0)

Resource title navigation dropdown with search for Filament
===========================================================

[](#resource-title-navigation-dropdown-with-search-for-filament)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0fa978cc7c9df2abe367485523f9d67733cb028d0b789e1d0caebc095c152446/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f686f7764752f66696c616d656e742d7265636f72642d73776974636865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/howdu/filament-record-switcher)[![GitHub Tests Action Status](https://camo.githubusercontent.com/8d6eb1d3f3a3fa53c9e1277a83d7c3c570eb17d1154802cd4b615f951f28160d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f686f7764752f66696c616d656e742d7265636f72642d73776974636865722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/howdu/filament-record-switcher/actions?query=workflow%3Arun-tests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/8ef18554e4607c9cb577df57e745c2bf03d62059ecbe0c32ffcc2600109b21e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f686f7764752f66696c616d656e742d7265636f72642d73776974636865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/howdu/filament-record-switcher)

[![Screenshot](https://private-user-images.githubusercontent.com/533658/342812922-f0c62589-bd5f-4463-bf93-124b1c37955b.gif?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzIxNDU0NjQsIm5iZiI6MTc3MjE0NTE2NCwicGF0aCI6Ii81MzM2NTgvMzQyODEyOTIyLWYwYzYyNTg5LWJkNWYtNDQ2My1iZjkzLTEyNGIxYzM3OTU1Yi5naWY_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMjI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDIyNlQyMjMyNDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04ZmM4ZjEzNTA0MTY2ZWFkMDZhM2ZhY2MyMjIyZGY4MjIwMzYyYmM5MTY1MDE5YmM4MmJmOTdjYzA1YmNkYTBkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.nmE9ZE2VIQ4ORS_oJLUfGBUHJyU5IBP6UhHunPNvntU)](https://private-user-images.githubusercontent.com/533658/342812922-f0c62589-bd5f-4463-bf93-124b1c37955b.gif?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzIxNDU0NjQsIm5iZiI6MTc3MjE0NTE2NCwicGF0aCI6Ii81MzM2NTgvMzQyODEyOTIyLWYwYzYyNTg5LWJkNWYtNDQ2My1iZjkzLTEyNGIxYzM3OTU1Yi5naWY_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMjI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDIyNlQyMjMyNDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04ZmM4ZjEzNTA0MTY2ZWFkMDZhM2ZhY2MyMjIyZGY4MjIwMzYyYmM5MTY1MDE5YmM4MmJmOTdjYzA1YmNkYTBkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.nmE9ZE2VIQ4ORS_oJLUfGBUHJyU5IBP6UhHunPNvntU)

Subtly convert the page title into a dropdown navigation that's displayed on click.

It works similar to Filament's global search but only shows results for the current resource.

#### Compatibility

[](#compatibility)

Plugin VersionFilament VersionPHP Version[1.x](https://github.com/howdu/filament-record-switcher/tree/3.x)3.x&gt; 8.1[2.x](https://github.com/howdu/filament-record-switcher/tree/4.x)4.x + 5.x&gt; 8.2Installation
------------

[](#installation)

You can install the package via composer:

```
composer require howdu/filament-record-switcher
```

Optionally, you can publish the views using

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

Usage
-----

[](#usage)

1. Register plugin inside your PanelProvider(s). E.g `app/Filament/Providers/AdminPanelProvider.php`

```
use Howdu\FilamentRecordSwitcher\FilamentRecordSwitcherPlugin;

class AdminPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            // ...
            ->plugin(
                FilamentRecordSwitcherPlugin::make(),
            );
    }
}
```

2. Add the `HasRecordSwitcher` trait to each of your edit record Page. E.g `app/Filament/Resources/Category/Pages/EditCategory.php`

```
use Howdu\FilamentRecordSwitcher\Filament\Concerns\HasRecordSwitcher;

class EditCategory extends EditRecord
{
    use HasRecordSwitcher;
}
```

Note: this trail will overwrite the `getHeading()` method if you've overwritten it in your Page you need to overwrite `getRecordTitle()` instead.

If you want to add custom logic to the `afterSave()` method, you can do so by using the `recordSwitcherAfterSave()` method from the trait.

```
 use HasRecordSwitcher {
    afterSave as recordSwitcherAfterSave;
}

protected function afterSave(): void
{
    /// Custom logic

    $this->recordSwitcherAfterSave();
}
```

3. Check your Resource class e.g CategoryResource has the record title attribute set which's used as the label in the select dropdown.

```
protected static ?string $recordTitleAttribute = 'title';
```

4. Finally publish plugin assets.

```
php artisan filament:assets
```

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)

- [Ben J](https://github.com/howdu)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance81

Actively maintained with recent releases

Popularity34

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 52.6% 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 ~56 days

Total

12

Last Release

68d ago

Major Versions

v1.1.1 → v2.0.02025-07-16

v2.0.0 → 3.x-dev2025-07-28

v2.0.3 → 4.x-dev2026-03-11

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

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/211894226eda932a8ebb5ac8f991498408889ec41c620edd1bd9e6e534282445?d=identicon)[howdu](/maintainers/howdu)

---

Top Contributors

[![howdu](https://avatars.githubusercontent.com/u/533658?v=4)](https://github.com/howdu "howdu (41 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (21 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (16 commits)")

---

Tags

filamentfilamentphpfilamentphp-pluginlaravellivewirephplaravelfilamentfilament-pluginhowdufilament-record-switcher

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/howdu-filament-record-switcher/health.svg)

```
[![Health](https://phpackages.com/badges/howdu-filament-record-switcher/health.svg)](https://phpackages.com/packages/howdu-filament-record-switcher)
```

###  Alternatives

[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)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[defstudio/filament-searchable-input

A searchable autocomplete input for Filament forms

3212.4k](/packages/defstudio-filament-searchable-input)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12247.8k](/packages/jibaymcs-filament-tour)[jiten14/jitone-ai

jitone-ai is a powerful FilamentPHP plugin that integrates AI-powered features directly into your Filament forms.

213.1k](/packages/jiten14-jitone-ai)[wsmallnews/filament-nestedset

Filament nestedset tree builder powered by kalnoy/nestedset with Filament v4 and v5 support

163.0k8](/packages/wsmallnews-filament-nestedset)

PHPackages © 2026

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