filafly / phosphor-icon-replacement
Replace the default Filament icons with Phosphor icons.
v0.1.0
2025-01-17 23:01 UTC
Requires
- php: ^8.1
- codeat3/blade-phosphor-icons: ^2.2
- filament/filament: ^3.2.3
- illuminate/support: *
- spatie/laravel-package-tools: ^1.9
README
Tired of Heroicons? Quickly swap out all icons used by the Filament framework with Phosphor icons. Include support for 6 different icon styles.
Requirements
- PHP 8.1+
- Filament v3.2+
Installation
There are only two steps to install Phosphor Icon Replacement. First, you need to install the package via composer:
composer require filafly/phosphor-icon-replacement
Secondly, add the plugin to any panels you wish:
->plugin(\Filafly\PhosphorIconReplacement::make())
Styles
All 6 Phosphor icon styles are available and can be used by simply calling the style name as a method on the plugin:
PhosphorIconReplacement::make()->thin() PhosphorIconReplacement::make()->light() PhosphorIconReplacement::make()->regular() PhosphorIconReplacement::make()->bold() PhosphorIconReplacement::make()->fill() PhosphorIconReplacement::make()->duotone()
If no style is explicitly chosen, regular will be used.
License
The MIT License (MIT). Please see License for more information.