How kenepa/multi-widget works
This is a small Filament package for presenting several widgets behind selectable tabs. Its workflow filters configured widgets by visibility, selects a default, and renders the selected widget through Livewire; users can switch tabs. The README only announces that the package moved, so this map reflects the sampled implementation rather than the successor repository.
Main entry points: MultiWidget.php MultiWidget · multi-widget.blade.php Widget tabs view · HasTabs.php Tab session concern · MultiWidgetServiceProvider.php Service provider
Components 9
Other components
- Dashboard user
- Filament / Livewire
- MultiWidget
src/MultiWidget.php - Tab session concern
src/Concerns/HasTabs.php - Widget tabs view
resources/views/multi-widget.blade.php - Configured widgets
- Laravel session
- Service provider
src/MultiWidgetServiceProvider.php - Package tools
Connections 10
- Filament / Livewire → MultiWidget: hosts
- MultiWidget → Tab session concern: uses
- Filament / Livewire → Widget tabs view: renders
- Widget tabs view → MultiWidget: requests selection
- Dashboard user → Widget tabs view: clicks tab
- MultiWidget → Configured widgets: filters and renders
- MultiWidget → Widget tabs view: supplies HTML
- Tab session concern → Laravel session: provides key
- MultiWidget → Laravel session: reads and writes selection
- Service provider → Package tools: configures views