PHPackages                             pxlrbt/filament-spotlight - 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. [Admin Panels](/categories/admin)
4. /
5. pxlrbt/filament-spotlight

ActiveLibrary[Admin Panels](/categories/admin)

pxlrbt/filament-spotlight
=========================

Spotlight for Filament Admin

v2.1.1(3mo ago)272400.8k—9.1%423MITPHPPHP ^8.0CI passing

Since Mar 23Pushed 3mo ago2 watchersCompare

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

READMEChangelog (10)Dependencies (3)Versions (40)Used By (3)

[![header](./.github/resources/pxlrbt-spotlight.png)](./.github/resources/pxlrbt-spotlight.png)

Filament Spotlight
==================

[](#filament-spotlight)

[![Latest Version on Packagist](https://camo.githubusercontent.com/38e6e4102f397ec1eff12a3130d7972614413728262c0ea4e8a691d76ea1f187/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70786c7262742f66696c616d656e742d73706f746c696768742e7376673f696e636c7564655f70726572656c6561736573)](https://packagist.org/packages/pxlrbt/filament-spotlight)[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE.md)[![GitHub Workflow Status](https://camo.githubusercontent.com/48939aae6b0ae54bfdcf78ff5756722b00d45aecfcc3a165f3c35245dd0d928b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70786c7262742f66696c616d656e742d73706f746c696768742f636f64652d7374796c652e796d6c3f6272616e63683d6d61696e266c6162656c3d436f64652532307374796c65267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/48939aae6b0ae54bfdcf78ff5756722b00d45aecfcc3a165f3c35245dd0d928b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70786c7262742f66696c616d656e742d73706f746c696768742f636f64652d7374796c652e796d6c3f6272616e63683d6d61696e266c6162656c3d436f64652532307374796c65267374796c653d666c61742d737175617265)[![Total Downloads](https://camo.githubusercontent.com/cdac770f2eabab38cb9a96eafd5e02c60f46684a4812dee7a152da03e6988c84/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70786c7262742f66696c616d656e742d73706f746c696768742e737667)](https://packagist.org/packages/pxlrbt/filament-spotlight)

Quickly navigate your Filament Resources with Spotlight functionality.

Supports pages, resources and links from the user menu.

    demo.mp4

Go Pro!
-------

[](#go-pro)

**Spotlight Pro** is built from the ground up and features a beautiful design that integrates seamlessly with Filament in both light and dark modes. It offers the same easy registration as the default version, along with enhanced control. Learn more at:

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

[](#installation)

Plugin VersionFilament VersionPHP Version0.x2.x&gt; 8.01.x3.x&gt; 8.12.x3.x, 4.x&gt; 8.1```
composer require pxlrbt/filament-spotlight
```

### Upgrade guide for Filament v4

[](#upgrade-guide-for-filament-v4)

From v2 onwards you will need a [Custom Theme](https://filamentphp.com/docs/4.x/styling/overview#creating-a-custom-theme) to include the Tailwind classes for the Spotlight component. See note below.

### Styles

[](#styles)

To include the Tailwind classes that are used in the Spotlight component, you need to create a [Custom Theme](https://filamentphp.com/docs/4.x/styling/overview#creating-a-custom-theme) and include the following line:

```
@source '../../../../vendor/wire-elements/**/*.blade.php';
```

### Plugin registration

[](#plugin-registration)

To use this plugin register it in your panel configuration:

```
use pxlrbt\FilamentSpotlight\SpotlightPlugin;

$panel
    ->plugins([
        SpotlightPlugin::make(),
    ]);
```

Usage
-----

[](#usage)

There is no configuration needed.

> "its genius"

 – Dan Harrin

To open the Spotlight input bar you can use one of the following shortcuts:

CTRL + K CMD + K CTRL + / CMD + /

### Setup

[](#setup)

This plugin relies on the same properties and methods used for Filament's global search. For records showing up with the correct name in "Edit/View" you need to set `$recordTitleAttribute`. [Check the docs for more information](https://filamentphp.com/docs/3.x/panels/resources/global-search)

#### Excluding pages

[](#excluding-pages)

If you need to exclude a page from the spotlight results you may do so by adding a static `shouldRegisterSpotlight` method to the page and return false:

```
public static function shouldRegisterSpotlight(): bool
{
    return false;
}
```

This can be useful when you have pages that require URL parameters.

Translation
-----------

[](#translation)

To translate or edit the default placeholder, you have to publish the translation file for *wire-element/spotlight*:

```
php artisan vendor:publish --tag=livewire-ui-spotlight-translations
```

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

[](#contributing)

If you want to contribute to this packages, you may want to test it in a real Filament project:

- Fork this repository to your GitHub account.
- Create a Filament app locally.
- Clone your fork in your Filament app's root directory.
- In the `/filament-spotlight` directory, create a branch for your fix, e.g. `fix/error-message`.

Install the packages in your app's `composer.json`:

```
"require": {
    "pxlrbt/filament-spotlight": "dev-fix/error-message as main-dev",
},
"repositories": [
    {
        "type": "path",
        "url": "filament-spotlight"
    }
]
```

Now, run `composer update`.

Credits
-------

[](#credits)

- [Dennis Koch](https://github.com/pxlrbt)
- [All Contributors](../../contributors)
- [Wire Elements Spotlight](https://github.com/wire-elements/spotlight)

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance82

Actively maintained with recent releases

Popularity56

Moderate usage in the ecosystem

Community31

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 82.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 ~50 days

Total

29

Last Release

93d ago

Major Versions

v0.3.8 → v1.0.02023-08-26

v1.3.2 → v2.0.02025-06-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/de2f0e928f16fab39bac058ab23744ed045a432404d1275a5a5258acbd368798?d=identicon)[pxlrbt](/maintainers/pxlrbt)

---

Top Contributors

[![pxlrbt](https://avatars.githubusercontent.com/u/22632550?v=4)](https://github.com/pxlrbt "pxlrbt (101 commits)")[![oddvalue](https://avatars.githubusercontent.com/u/10127404?v=4)](https://github.com/oddvalue "oddvalue (6 commits)")[![alexmartinfr](https://avatars.githubusercontent.com/u/19224681?v=4)](https://github.com/alexmartinfr "alexmartinfr (1 commits)")[![austincarpenter](https://avatars.githubusercontent.com/u/3736774?v=4)](https://github.com/austincarpenter "austincarpenter (1 commits)")[![aymanalhattami](https://avatars.githubusercontent.com/u/34315778?v=4)](https://github.com/aymanalhattami "aymanalhattami (1 commits)")[![buzkall](https://avatars.githubusercontent.com/u/5702?v=4)](https://github.com/buzkall "buzkall (1 commits)")[![cuinc99](https://avatars.githubusercontent.com/u/10627884?v=4)](https://github.com/cuinc99 "cuinc99 (1 commits)")[![Geoffry304](https://avatars.githubusercontent.com/u/3656871?v=4)](https://github.com/Geoffry304 "Geoffry304 (1 commits)")[![hnasiry](https://avatars.githubusercontent.com/u/14115146?v=4)](https://github.com/hnasiry "hnasiry (1 commits)")[![jeffersongoncalves](https://avatars.githubusercontent.com/u/411493?v=4)](https://github.com/jeffersongoncalves "jeffersongoncalves (1 commits)")[![nitinkaware](https://avatars.githubusercontent.com/u/17737553?v=4)](https://github.com/nitinkaware "nitinkaware (1 commits)")[![rubenvanerk](https://avatars.githubusercontent.com/u/20305359?v=4)](https://github.com/rubenvanerk "rubenvanerk (1 commits)")[![sakanjo](https://avatars.githubusercontent.com/u/121197517?v=4)](https://github.com/sakanjo "sakanjo (1 commits)")[![sald19](https://avatars.githubusercontent.com/u/1674971?v=4)](https://github.com/sald19 "sald19 (1 commits)")[![theofanisv](https://avatars.githubusercontent.com/u/6011795?v=4)](https://github.com/theofanisv "theofanisv (1 commits)")[![akki-io](https://avatars.githubusercontent.com/u/34255218?v=4)](https://github.com/akki-io "akki-io (1 commits)")[![tobiasla78](https://avatars.githubusercontent.com/u/17968060?v=4)](https://github.com/tobiasla78 "tobiasla78 (1 commits)")[![alexandru-eftimie](https://avatars.githubusercontent.com/u/65734304?v=4)](https://github.com/alexandru-eftimie "alexandru-eftimie (1 commits)")

---

Tags

filamentfilamentadminlaravellivewirephpspotlightlaravelfilamentlaravel-filamentspotlightalfredwire-elements

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/pxlrbt-filament-spotlight/health.svg)

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

###  Alternatives

[awcodes/filament-quick-create

Plugin for Filament Admin that adds a dropdown menu to the header to quickly create new items.

246177.6k7](/packages/awcodes-filament-quick-create)[inerba/filament-db-config

A Filament plugin for database-backed application settings and editable content, with caching and easy page generation.

329.1k](/packages/inerba-filament-db-config)[openplain/filament-tree-view

Tree view for Filament resources - drop-in replacement for Table with drag-and-drop hierarchical data management

318.5k](/packages/openplain-filament-tree-view)[caresome/filament-neobrutalism-theme

A neobrutalism theme for FilamentPHP admin panels

303.2k](/packages/caresome-filament-neobrutalism-theme)[andreia/filament-ui-switcher

Add a modal with options to switch between different UI layouts and styles (colors, fonts, font sizes).

233.8k](/packages/andreia-filament-ui-switcher)[craft-forge/filament-language-switcher

Zero-config language switcher for Filament admin panels. Automatically scans available translations, renders dropdown with country flags, persists selection via sessions.

1016.4k](/packages/craft-forge-filament-language-switcher)

PHPackages © 2026

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