定制 schmeits/filament-4-phosphor-icons 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

schmeits/filament-4-phosphor-icons

最新稳定版本:1.0.6

Composer 安装命令:

composer require schmeits/filament-4-phosphor-icons

包简介

This is my package filament-4-phosphor-icons

README 文档

README

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

This is a custom icon pack to be used in Filament v4. You can use it to add Phosphor icons everywhere :)

Installation

You can install the package via composer:

composer require schmeits/filament-4-phosphor-icons

Usage

    Forms\Components\TextInput::make('name')
        ->required()
        ->prefixIcon(Phosphor::Smiley)

Check out the Phosphor icons on their website Phosphor Icons to find the icon you want to use.gh

Weights

The package comes with the following weights you can use:

enum PhosphorWeight: string
{
    case Thin = 'thin';
    case Light = 'light';
    case Regular = 'regular';
    case Bold = 'bold';
    case Fill = 'fill';
    case Duotone = 'duotone';
}

You can use the weights in the same way as the icons:

    ->prefixIcon(Phosphor::Smiley->getIconForWeight(PhosphorWeight::Duotone))

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 1.86k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 17
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 17
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-12