pxlrbt/filament-spotlight) extends Filament Admin (a Laravel admin panel framework) by adding a Spotlight search feature (similar to Laravel Nova’s Spotlight). This is a highly targeted solution for admin panels requiring global search, resource discovery, and quick navigation—ideal for SaaS platforms, internal tools, or complex dashboards where users need to efficiently locate resources (e.g., users, orders, settings) without deep navigation.livewire for dynamic updates, filament-notifications for search feedback).searchable() in models, add database indexes, or implement custom providers for non-model data.canAccessSpotlight) are in place to restrict sensitive resources.canSearch logic.searchable() method).composer require pxlrbt/filament-spotlight
php artisan vendor:publish --tag="filament-spotlight-config"
php artisan vendor:publish --tag="filament-spotlight-views"
app/Providers/Filament/AdminPanelProvider.php:
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
\Pxlrbt\FilamentSpotlight\FilamentSpotlightPlugin::make(),
]);
}
config/filament-spotlight.php:
'resources' => [
\App\Filament\Resources\UserResource::class,
\App\Filament\Resources\OrderResource::class,
],
\Pxlrbt\FilamentSpotlight\Contracts\SearchProvider for non-model data.resources/views/vendor/filament-spotlight/....canSearch logic in a custom provider.composer why-not to audit dependency conflicts.searchable() in models, database indexes.How can I help you explore Laravel packages today?