Phosphor Icon Pack by Tally Schmeits
CommunityA Phosphor Icon Enum package to use the Phosphor icons everywhere in your Filament project.
Author:
Tally Schmeits
Package health
Automated checks of this plugin's Composer package
15 checks
- Passed: GitHub Actions pinned to SHA
- Skipped: GitLab CI includes pinned to SHA
- Passed: Open security advisories
- Passed: Dependabot PR responsiveness — No open Dependabot PRs.
- Skipped: Renovate MR responsiveness
- Passed: Dependabot or Renovate configured
- Passed: Dependency update cooldown configured
- Passed: Provides a security policy
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Passed: Commit and release recency — Active: last commit 1 days ago; last release 483 days ago.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Passed: Dist archive is lean
-
Passed:
Current Laravel version supported
—
Package dependencies resolve together with current Laravel
13.0. -
Passed:
Current PHP version supported
—
Constraint
^8.2supports current PHP8.5. - Skipped: Current Symfony version supported
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
- Compatibility
- Installation
- Usage
- Updating the icons
- Testing
- Changelog
- Security
- Need help with Filament?
- Credits
- License
All Phosphor icons as a backed enum for Filament. The enum implements Filament's ScalableIcon contract, so every icon follows Filament's icon sizes, and you can pick any of the six Phosphor weights yourself.
The icons themselves come from codeat3/blade-phosphor-icons.
#Compatibility
| Package | Filament | Laravel | PHP |
|---|---|---|---|
| 1.1 | 4.13.2+ and 5.8.2+ | 12, 13 | 8.2+ (Laravel 13: 8.3+) |
| 1.0 | 4.x | 11, 12 | 8.2+ |
The minimum Filament versions are the first ones without known security advisories.
#Installation
composer require schmeits/filament-4-phosphor-icons
#Usage
use Filament\Forms\Components\TextInput;
use Schmeits\FilamentPhosphorIcons\Support\Icons\Phosphor;
TextInput::make('name')
->required()
->prefixIcon(Phosphor::Smiley);
Find the icon you need on phosphoricons.com. The enum case is the icon name in PascalCase: smiley-sticker becomes Phosphor::SmileySticker.
#Sizes
When you pass the enum itself, Filament asks it for an icon per size. This package maps the sizes to a weight:
| Filament size | Weight |
|---|---|
ExtraSmall, Small |
thin |
Medium |
regular |
Large, ExtraLarge, TwoExtraLarge |
bold |
#Weights
To use one weight everywhere, pick it explicitly:
use Schmeits\FilamentPhosphorIcons\Support\Icons\Phosphor;
use Schmeits\FilamentPhosphorIcons\Support\Icons\PhosphorWeight;
->prefixIcon(Phosphor::Smiley->getIconForWeight(PhosphorWeight::Duotone))
The available weights are Thin, Light, Regular, Bold, Fill and Duotone.
#Updating the icons
The enum is generated from the installed version of codeat3/blade-phosphor-icons. After upgrading that package:
composer generate-enum
The test suite fails when the enum and the icon source no longer match, in either direction.
#Testing
composer test
composer analyse
#Changelog
Please see CHANGELOG for more information on what has changed recently.
#Security
Please see our security policy on how to report security vulnerabilities.
#Need help with Filament?
I'm Tally Schmeits, the maintainer of this package. I build and maintain Filament and Laravel applications for clients: new admin panels and business applications, upgrades to Filament 4 and 5, and taking over existing Filament apps. More at schmeits.com/filament-specialist.
#Credits
#License
The MIT License (MIT). Please see License File for more information.
The author
Tally is an entrepreneur, husband, and father of three beautiful children! With his deep expertise in web development, particularly in Laravel and Filament, he has established and successfully runs his own company, Schmeits websolutions. He is committed to staying up-to-date with the latest technologies and tools, such as Filament, to deliver top-notch services to his clients.
From the same author
Umami Widgets
Display Umami Analytics data in your dashboard
Author:
Tally Schmeits
Character Counter
A character counter for Text, Textarea and RichEditor fields
Author:
Tally Schmeits
Pan Analytics Widget
Display PanPHP Analytics data in your dashboard
Author:
Tally Schmeits
Featured Plugins
A selection of plugins curated by the Filament team
Sharp Theme
A theme that gives panels a precise, technical look with square corners, strong borders, and clear contrast.
Filament
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle