Pros:
only_visible_once, tour_prefix_id) allow customization without core logic modifications.Cons:
localStorage for "only visible once" logic, which may conflict with SSO or privacy-compliant storage solutions.Panel integration).only_visible_once is enabled).localStorage, is analytics or server-side tracking of tour completion needed (e.g., for A/B testing)?only_visible_once) can be managed via Laravel config or environment variables.resources/js orresources/js/filament/tour.js).composer require viezel/filament-tour
php artisan vendor:publish --tag="filament-tour-config"
php artisan vendor:publish --tag="filament-tour-views"
php artisan vendor:publish --tag="filament-tour-migrations" # Optional
Panel configuration:
->plugins([FilamentTourPlugin::make()->onlyVisibleOnce(fn() => app()->isProduction())])
localStorage behavior and tour flow.only_visible_once logic).composer update viezel/filament-tour).config/filament-tour.php.localStorage failures) can be diagnosed via Laravel logs.tours table scales with user growth (indexes on user_id if querying).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| DriverJS JS/CSS fails to load | Tours never appear | Fallback: Graceful degradation (e.g., show a static tooltip). |
localStorage blocked/cleared |
Users see tours repeatedly | Server-side tracking (optional) or disable only_visible_once. |
| Filament version mismatch | Plugin breaks | Pin package version in composer.json. |
| CSS conflicts with Filament | Tour highlights overlap UI | Inspect DriverJS styles and override with !important if needed. |
| Tour steps time out | Incomplete user experience | Adjust DriverJS timeout settings in config. |
only_visible_once works as expected (test with incognito mode).How can I help you explore Laravel packages today?