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.