PHP code example of pxlrbt / filament-spotlight

1. Go to this page and download the library: Download pxlrbt/filament-spotlight library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

pxlrbt / filament-spotlight example snippets


use pxlrbt\FilamentSpotlight\SpotlightPlugin;

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

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

php artisan vendor:publish --tag=livewire-ui-spotlight-translations
bash
php artisan filament:assets