Phosphor Icon Replacement

Tired of Heroicons? Quickly swap out all icons used by the Filament framework with Phosphor icons. Include support for 6 different icon styles.

Phosphor Icon Replacement

Requirements

  • PHP 8.1+
  • Filament 3.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.