PHPackages                             filafly/filament-phosphor-icons - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. filafly/filament-phosphor-icons

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

filafly/filament-phosphor-icons
===============================

Phosphor icon pack for Filament Icons

v2.2.0(4mo ago)1241.5k↓17.4%22MITPHPPHP ^8.2

Since Apr 30Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/filafly/filament-phosphor-icons)[ Packagist](https://packagist.org/packages/filafly/filament-phosphor-icons)[ Docs](https://filafly.com/plugins/filament-icons)[ RSS](/packages/filafly-filament-phosphor-icons/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (8)Versions (13)Used By (2)

 [![Banner](https://camo.githubusercontent.com/6b08413ec572680baf67f244c7afa46a46f17f8d4629643b8c1c305eb12fa1d1/68747470733a2f2f66696c61666c792e636f6d2f696d616765732f66696c61666c792d66696c616d656e742d70686f7370686f722d69636f6e732e706e67)](https://camo.githubusercontent.com/6b08413ec572680baf67f244c7afa46a46f17f8d4629643b8c1c305eb12fa1d1/68747470733a2f2f66696c61666c792e636f6d2f696d616765732f66696c61666c792d66696c616d656e742d70686f7370686f722d69636f6e732e706e67)

Filament Phosphor Icons
=======================

[](#filament-phosphor-icons)

An Phosphor icon set implementation for [Filament Icons](https://github.com/filafly/filament-icons), allowing for instant replacement of all icons used within the Filament framework.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require filafly/filament-phosphor-icons
```

After the package is installed, you must register the plugin in your Filament Panel provider:

```
use Filafly\Icons\Phosphor\PhosphorIcons;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugin(PhosphorIcons::make());
}
```

Setting the global icon style
-----------------------------

[](#setting-the-global-icon-style)

Phosphor icons come in multiple styles that you can switch between. Available styles include:

- Regular (default)
- Thin
- Light
- Bold
- Fill
- Duotone

You can change the style using the following methods:

```
PhosphorIcons::make()->thin();
PhosphorIcons::make()->light();
PhosphorIcons::make()->regular();
PhosphorIcons::make()->bold();
PhosphorIcons::make()->fill();
PhosphorIcons::make()->duotone();
```

Setting style for a subset of icons
-----------------------------------

[](#setting-style-for-a-subset-of-icons)

If you need to override certain icons to use a different style, you can use either icon aliases or icon enum cases.

### Using icon aliases

[](#using-icon-aliases)

Use the `overrideStyleForAlias` method with a [Filament Icon Alias](https://filamentphp.com/docs/styling/icons#available-icon-aliases). This method works with either a single icon key (string) or multiple icon keys (array).

```
use Filafly\Icons\Phosphor\PhosphorIcons;
use Filafly\Icons\Phosphor\Enums\PhosphorStyle;
use Filament\Tables\View\TablesIconAlias;
use Filament\Actions\View\ActionsIconAlias;

// Override a single icon key
PhosphorIcons::make()->overrideStyleForAlias(TablesIconAlias::ACTIONS_FILTER, PhosphorStyle::Solid);

// Override multiple icon keys at once
PhosphorIcons::make()->overrideStyleForAlias([
    TablesIconAlias::ACTIONS_FILTER,
    ActionsIconAlias::DELETE_ACTION,
], PhosphorStyle::Solid);
```

### Using icon enum cases

[](#using-icon-enum-cases)

Use the `overrideStyleForIcon` method with Phosphor enum case(s). Like the alias method, this works with either a single case or an array of cases.

```
use Filafly\Icons\Phosphor\PhosphorIcons;
use Filafly\Icons\Phosphor\Enums\Phosphor;
use Filafly\Icons\Phosphor\Enums\PhosphorStyle;

// Override a single icon
PhosphorIcons::make()->overrideStyleForIcon(Phosphor::User, PhosphorStyle::Solid);

// Override multiple icons at once
PhosphorIcons::make()->overrideStyleForIcon([
    Phosphor::MagnifyingGlass,
    Phosphor::Funnel,
], PhosphorStyle::Solid);
```

Specifying exact icons to use
-----------------------------

[](#specifying-exact-icons-to-use)

You can also specify exactly which icon you would like to use in given situations. This can be done via icon aliases or icon enum cases.

### Override icon aliases

[](#override-icon-aliases)

Use `overrideAlias()` to change which icon is used for specific Filament icon aliases:

```
use Filafly\Icons\Phosphor\PhosphorIcons;
use Filafly\Icons\Phosphor\Enums\Phosphor;
use Filament\View\PanelsIconAlias;
use Filament\Tables\View\TablesIconAlias;

PhosphorIcons::make()
    ->overrideAlias(PanelsIconAlias::SIDEBAR_EXPAND_BUTTON, Phosphor::CaretRight)
    ->overrideAlias(TablesIconAlias::ACTIONS_FILTER, Phosphor::Funnel);
```

Or use `overrideAliases()` to override multiple aliases at once by passing an array:

```
use Filafly\Icons\Phosphor\PhosphorIcons;
use Filafly\Icons\Phosphor\Enums\Phosphor;
use Filament\View\PanelsIconAlias;
use Filament\Tables\View\TablesIconAlias;

PhosphorIcons::make()
    ->overrideAliases([
        PanelsIconAlias::SIDEBAR_EXPAND_BUTTON => Phosphor::CaretRight,
        TablesIconAlias::ACTIONS_FILTER => Phosphor::Funnel,
    ]);
```

### Override individual icons

[](#override-individual-icons)

Use `overrideIcon()` to replace specific Phosphor icons with different ones:

```
use Filafly\Icons\Phosphor\PhosphorIcons;
use Filafly\Icons\Phosphor\Enums\Phosphor;

PhosphorIcons::make()
    ->overrideIcon(Phosphor::MagnifyingGlass, Phosphor::MagnifyingGlassThin)
    ->overrideIcon(Phosphor::Plus, Phosphor::PlusCircle);
```

Or use `overrideIcons()` to override multiple icons at once by passing an array:

```
use Filafly\Icons\Phosphor\PhosphorIcons;
use Filafly\Icons\Phosphor\Enums\Phosphor;

PhosphorIcons::make()
    ->overrideIcons([
        Phosphor::MagnifyingGlass->value => Phosphor::MagnifyingGlassThin,
        Phosphor::Plus->value => Phosphor::PlusCircle,
        Phosphor::Edit->value => Phosphor::EditPencil,
    ]);
```

> PHP arrays do not support enums as keys so `->value` is necessary if you want to reference the enum

These methods are useful for fine-tuning the icon set to better fit your application's needs.

Icon enum
---------

[](#icon-enum)

All icons are available through an enum providing convenient usage throughout Filament. For more information, check the [Filament docs](https://filamentphp.com/docs/styling/icons).

```
use Filament\Forms\Components\Toggle;
use Filafly\Icons\Phosphor\Enums\Phosphor;

Toggle::make('is_starred')
    ->onIcon(Phosphor::Star)
```

License
-------

[](#license)

The MIT License (MIT). Please see [License](LICENSE.md) for more information.

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance77

Regular maintenance activity

Popularity38

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~27 days

Recently: every ~54 days

Total

12

Last Release

127d ago

Major Versions

v0.2.0 → v1.02025-05-25

v1.0.1 → v2.0.0-beta12025-07-07

PHP version history (2 changes)v0.1.0PHP ^8.0

v2.0.0-beta1PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/e8e5241b3b450ab4c64dd7ad1a868a00c3eef90731d0a6024385ec4246d4b3dd?d=identicon)[filafly](/maintainers/filafly)

---

Top Contributors

[![nolannordlund](https://avatars.githubusercontent.com/u/11064008?v=4)](https://github.com/nolannordlund "nolannordlund (24 commits)")[![edjeavons](https://avatars.githubusercontent.com/u/735284?v=4)](https://github.com/edjeavons "edjeavons (1 commits)")

---

Tags

laraveliconsfilamentreplaceswapPhosphor

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/filafly-filament-phosphor-icons/health.svg)

```
[![Health](https://phpackages.com/badges/filafly-filament-phosphor-icons/health.svg)](https://phpackages.com/packages/filafly-filament-phosphor-icons)
```

###  Alternatives

[ysfkaya/filament-phone-input

A phone input component for Laravel Filament

3161.3M25](/packages/ysfkaya-filament-phone-input)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12453.6k](/packages/jibaymcs-filament-tour)[wallacemartinss/filament-icon-picker

A beautiful icon picker component for Filament v5 using blade-ui-kit/blade-icons

4723.9k35](/packages/wallacemartinss-filament-icon-picker)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[wsmallnews/filament-nestedset

Filament nestedset tree builder powered by kalnoy/nestedset with Filament v4 and v5 support

197.8k17](/packages/wsmallnews-filament-nestedset)[tapp/filament-form-builder

User facing form builder using Filament components

132.4k3](/packages/tapp-filament-form-builder)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
