daljo25/filament-tabler-icons
Composer 安装命令:
composer require daljo25/filament-tabler-icons
包简介
A Filament plugin that integrates tabler icons, allowing you to use them seamlessly across Filament forms, tables, actions, and more.
README 文档
README
A Filament 4.x / 5.x plugin that integrates the full Tabler Icons set, allowing you to use them seamlessly across Filament forms, tables, actions, resources, and navigation.
Tabler Icons is a free and open-source SVG icon set designed to work beautifully with modern UIs.
Requirements
- PHP 8.2+
- Laravel 10+
- Filament 4.x or 5.x
Installation
Install the package via Composer:
composer require daljo25/filament-tabler-icons
(Optional) You can publish the configuration file to customize the plugin's behavior:
php artisan vendor:publish --tag=filament-tabler-icons-config
Configuration
The configuration file allows you to control the automatic icon replacement and define custom overrides.
return [ // Enable or disable automatic icon replacement 'enabled' => true, // Define custom icon overrides 'icons' => [ 'panels::global-search-field' => 'tabler-zoom-2', ], ];
Icon Aliases
You can override any of Filament's default icon aliases. For a full list of available aliases, check the official Filament documentation.
Automatic Icon Replacement
Once installed, this plugin automatically replaces all Filament UI icons with Tabler Icons, including:
Panels Icons
- Sidebar navigation icons
- Collapse/expand buttons
- Search field icon
- Filter buttons
- Dashboard icons
- User menu icons
- Theme switcher icons (Light, Dark, System)
- Database notifications icons
Notifications Icons
- Notification status icons (success, danger, warning, info)
- Close button icon
- Empty state icons
Widgets Icons
- Chart filter icons
This means you don't need to do anything—Tabler Icons will be used throughout your Filament admin panel automatically!
Usage
Import the enum
use Daljo25\FilamentTablerIcons\Enums\TablerIcon;
Forms
use Filament\Forms; use Daljo25\FilamentTablerIcons\Enums\TablerIcon; Forms\Components\TextInput::make('email') ->prefixIcon(TablerIcon::Mail) ->email() ->required();
Tables
use Filament\Tables; use Daljo25\FilamentTablerIcons\Enums\TablerIcon; Tables\Columns\IconColumn::make('active') ->boolean() ->trueIcon(TablerIcon::Check) ->falseIcon(TablerIcon::X);
Actions
use Filament\Actions; use Daljo25\FilamentTablerIcons\Enums\TablerIcon; Actions\Action::make('edit') ->icon(TablerIcon::Edit);
Resource Navigation Icon
use Filament\Resources\Resource; use Daljo25\FilamentTablerIcons\Enums\TablerIcon; final class UserResource extends Resource { protected static string|BackedEnum|null $navigationIcon = TablerIcon::Users; }
Icon Scaling (optional)
Since the enum implements ScalableIcon, you can control icon size:
use Filament\Support\Enums\IconSize; use Daljo25\FilamentTablerIcons\Enums\TablerIcon; TablerIcon::Settings->scale(IconSize::Large);
Available Icons
All icons are provided via the TablerIcon enum.
Icon names follow the official Tabler naming convention (kebab-case internally, PascalCase enum names).
You can browse the full icon set at: 👉 https://tabler.io/icons
Contributing
Contributions are welcome!
If you want to:
- add missing icons
- improve DX
- optimize performance
- improve documentation
Please open a pull request or issue.
Credits
- Daljomar Morillo (@daljo25)
- Tabler Icons
- Inspired by filament-lucide-icons
License
The MIT License (MIT). See LICENSE.md for more information.
daljo25/filament-tabler-icons 适用场景与选型建议
daljo25/filament-tabler-icons 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.08k 次下载、GitHub Stars 达 5, 最近一次更新时间为 2026 年 02 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「icons」 「tabler」 「filamentphp」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 daljo25/filament-tabler-icons 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 daljo25/filament-tabler-icons 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 daljo25/filament-tabler-icons 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A simple library of SVG page type icons for enhancing your SilverStripe CMS interface.
Craft CMS Twig extension to include SVGs from the Feather and Zondicons SVG icon libraries directly in your templates.
Render small SVG icons to monochrome ANSI for terminal UIs (Laravel/Prompts, Symfony Console, plain CLI).
Laravel Package for integrating Tabler template and this package is Laravel Mix friendly.
Laravel Package for integrating Tabler template and this package is Laravel Mix friendly.
Free Yii2 admin template for backend
统计信息
- 总下载量: 4.08k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 9
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-05