filafly/filament-phosphor-icons
filament-icons).Panel provider.heroicon-*) aren’t 1:1 replaced with Phosphor equivalents. Requires testing all critical UI elements.fill, duotone) may not align with existing Filament themes. Previews/testing recommended.--color-primary)?filament:resources, filament:pages).composer require filafly/filament-phosphor-icons
app/Providers/Filament/PanelProvider.php:
public function panel(Panel $panel): Panel {
return $panel->plugin(PhosphorIcons::make()->regular());
}
->bold()) in a staging environment.overrideStyleForAlias() for specific icons:
PhosphorIcons::make()
->regular()
->overrideStyleForAlias('heroicon-o-cog', 'fill');
Icon component. Direct Blade/JS icon usage (e.g., <i class="ph-icon"></i>) won’t work without additional setup.php artisan filament:cache:clear) and browser cache post-install.filafly/filament-phosphor-icons and filament/filament for breaking changes. Phosphor Icons itself is a separate dependency (likely @phosphor-icons/web).overrideStyleForAlias) must be documented to avoid drift during future updates.vendor/filafly/filament-phosphor-icons) and network access to Phosphor’s CDN (if used).ph ph-bold) are applied.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Phosphor CDN unavailable | Broken icons | Self-host Phosphor fonts or use fallback icons. |
| Icon alias mismatch | UI elements appear as placeholders | Audit icon usage pre-migration. |
| CSS conflict with Filament themes | Styling inconsistencies | Test in staging; override CSS as needed. |
| Plugin registration error | Icons fail to load | Validate PanelProvider configuration. |
| PHP version incompatibility | Installation fails | Upgrade PHP to 8.0+. |
Phosphor::Cog instead of Heroicon::Cog").filament:user → Phosphor::User).overrideStyleForAlias method for edge cases.->plugin(PhosphorIcons::make()->disable())
How can I help you explore Laravel packages today?