// DOKUMENTACE ICON PICKER 2.x
Neaktuální

Čtete dokumentaci k verzi 2.x. Aktuální je 4.x.

Přejít na dokumentaci 4.x →

Installation

Requirements

  • PHP 8.0 or higher
  • Filament 3.x

Installing the package

You can install the package via composer:

composer require guava/filament-icon-picker:"^2.0"

Configuration

You can publish the config file with:

php artisan vendor:publish --tag="filament-icon-picker-config"

It ends up in config/icon-picker.php and lets you set the defaults for every picker in your application:

return [
    'sets' => null,

    'columns' => 1,

    'layout' => \Guava\FilamentIconPicker\Layout::FLOATING,

    'cache' => [
        'enabled' => true,
        'duration' => '7 days',
    ],
];

Every one of these can also be set per field, which is covered in options.

NOTEWhen you install a new icon set and it doesn't show up in the picker, please clear your cache. Search results are cached for 7 days by default.

guava/filament-icon-picker 709K instalací · 163 hvězd
// COOKIES

Pár cookies drží web v chodu; další si pamatují nastavení nebo počítají návštěvy. Vy rozhodujete, co poběží.

Zásady cookies