wire-elements/spotlight
Wire Elements Spotlight adds a Spotlight/Alfred-style command palette to Laravel via Livewire. Open with Ctrl/Cmd+K (or customize), search and run actions, and toggle from Livewire or JavaScript. Works with Alpine when using Livewire v2.
require('vendor/livewire-ui/spotlight/resources/js/spotlight');shouldBeShown method on the SpotlightCommand for any custom logic needed for determining whether a command should be shown in the Spotlight component. This includes resolving any dependencies out of the Laravel service container.SpotlightCommandDependency type support. Defaults to SpotlightCommandDependency::SEARCH$this->dispatchBrowserEvent('toggle-spotlight');make:spotlight command.registerCommandIf and registerCommandUnless helpers to register commands conditionally.How can I help you explore Laravel packages today?