psyao/filament-icon-picker
Composer 安装命令:
composer require psyao/filament-icon-picker
包简介
A Filament form field that provides a searchable icon picker backed by Blade UI Icons manifests.
关键字:
README 文档
README
A Filament form field that provides a searchable icon picker backed by Blade UI Icons.
By default, Filament includes Heroicons out of the box. This package makes it easy to surface additional icon sets (registered with Blade Icons) in a modal picker.
Notes
IconPickerextends Filament'sModalTableSelectand customizes selection and preview behavior.- Prefer the
IconPickerAPI for configuration and usage — callingModalTableSelectmethods directly may break selection, styling, or the live preview.
Table of contents
- Requirements
- Features
- Installation
- Usage
- Testing
- Changelog
- Contributing
- Security Vulnerabilities
- Credits
- License
Requirements
- PHP ^8.2
- Filament 4.x
Features
- Modal picker with a searchable table of icons
- Live preview of the selected icon
- Filter available icon sets
- Simple integration with Filament forms, tables and infolists
Installation
Install via Composer:
composer require psyao/filament-icon-picker
Usage
In forms
Use the IconPicker field inside your Filament form schema. The field opens a modal table that lets users pick an icon
and renders a live preview automatically.
Basic example:
use Psyao\FilamentIconPicker\Forms\IconPicker; IconPicker::make('icon')
Limit available sets:
IconPicker::make('icon') ->sets(['lucide', 'simple-icons'])
Show labels under icons in the picker:
IconPicker::make('icon') ->showIconLabels()
In tables
To display the selected icon in a Filament table, use IconColumn:
use Filament\Tables\Columns\IconColumn; IconColumn::make('icon') ->icon(fn ($state) => $state))
In infolists
To display the selected icon in an infolist, use IconEntry:
use Filament\Infolists\Components\IconEntry; IconEntry::make('status') ->icon(fn ($state) => $state))
In Blade views
Render the selected icon in Blade (depending on your Blade Icons helper):
@svg($icon, ['class' => 'h-5 w-5']) {{ svg($icon, ['class' => 'h-5 w-5']) }}
Testing
Run the test suite with:
composer test
Changelog
See CHANGELOG for recent changes.
Contributing
See CONTRIBUTING for contribution guidelines.
Security Vulnerabilities
Please review our security policy for reporting vulnerabilities.
Credits
License
The MIT License (MIT). See LICENSE.md for details.
psyao/filament-icon-picker 适用场景与选型建议
psyao/filament-icon-picker 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 11 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「icon」 「icon-picker」 「filament」 「blade-icons」 「filament-form」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 psyao/filament-icon-picker 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 psyao/filament-icon-picker 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 psyao/filament-icon-picker 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A slick field to pick icons from. Supports SVGs, Sprites, Webfonts, Font Awesome and more.
PHP Library to get the apple-touch-icons and favicon from a website.
A beautiful icon picker component for Filament v5 using blade-ui-kit/blade-icons
Icon support for Silverstripe taxonomy terms
A beautiful icon picker field for FilamentPHP v5 with support for Heroicons, Lucide and more
Craft CMS Icon Picker
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-29