takashato/filament-spotlight
A Filament plugin that adds a Spotlight-style command palette to your admin panel, letting users quickly search records and jump between resources, pages, and actions from a single keyboard-driven overlay.
FilamentResourceSource (global search plus Tab-activated per-row actions) and NavigationSource mean most day-to-day admin work — find record, act on record — becomes reachable without touching the mouse. That is a support-ticket-reduction and internal-tooling-efficiency bet, not a feature bet.SpotlightSource contract plus the Handler factory (url, event, modal, callback) lets your team expose domain-specific commands — "create invoice for this customer", "open runbook" — without forking the package. That makes it a platform primitive rather than a cosmetic add-on, and it is the part most likely to justify the dependency long term.en and vi out of the box tells you the maintainer's own context; treat additional locales as your work item, and factor that into the effort estimate if your admin is not English-first.Adopt when most of these hold:
Cmd/Ctrl+K.SpotlightSource contract, the Handler factory signatures, and the config schema are all fair game to change. Pin to ^0.1 and budget for reading changelogs on every bump.spotlight_recents table, and to decide a retention policy for per-user history.callback/event handler reachable from a palette is a code path worth a security read — especially if untrusted users share a panel.Look elsewhere or build in-house when:
en/vi and you cannot absorb the translation work.For executives: This is a small, low-cost add-on that makes our admin dramatically faster to navigate for day-to-day staff, and it ships with documented WCAG 2.1 AA accessibility conformance plus dark mode, RTL, and mobile layouts — useful evidence if accessibility ever appears on a customer or tender questionnaire. The trade-off is honest: it is a first public release (v0.1.0) from a single maintainer, so we treat it as an experiment, pin the version, and keep the integration thin enough to remove in a day if needed. Recommend a time-boxed pilot on an internal panel before any wider rollout.
For engineering: Install is composer require takashato/filament-spotlight:^0.1, register SpotlightPlugin on the panel, publish config/spotlight.php and the spotlight_recents migration. Built-in FilamentResourceSource and NavigationSource give us Cmd/Ctrl+K search and Tab-activated row actions without custom code; anything beyond that we implement against the SpotlightSource contract and return Result DTOs. Two things to scope in review: (1) the Handler factory is our main attack surface — confirm same-origin and scalar validation covers our intended url/event/modal/callback usage before we expose it broadly; (2) per-user recents persist to a new table, so decide retention and confirm the permission re-validation behaves correctly under our role model. Assume breaking changes on any 0.x bump — review the changelog before upgrading and keep our custom sources isolated behind our own adapter so a contract change is a contained fix, not a refactor.
How can I help you explore Laravel packages today?