Download the PHP package alexazartsev/heroicon without Composer
On this page you can find all versions of the php package alexazartsev/heroicon. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alexazartsev/heroicon
More information about alexazartsev/heroicon
Files in alexazartsev/heroicon
Package heroicon
Short Description A Laravel Nova field for managing icons.
License MIT
Informations about the package heroicon
Heroicon Nova Field
A Laravel Nova Field for managing icons. Heroicons and free Font Awesome supported out of the box, pro version of Font Awesome can be registered as custom set of icons.
Custom sets of icons can be registered globally for each field or locally for concrete field instanse and used with or instead default sets.
Each icon can be changed via editor.
Icon saved as svg html tag into db.
Installation:
Use composer for installation. Laravel with nova required.
Usage:
Use it as regular nova field:
Default icon sets available:
Name | Label | Icons |
---|---|---|
solid | Heroicons solid | Heroicons solid |
outline | Heroicons outline | Heroicons outline |
fa-brands | Font Awesome brands | Font Awesome brands |
fa-solid | Font Awesome solid | Font Awesome solid |
fa-regular | Font Awesome regular | Font Awesome regular |
To use custom or customize existing icon click on Edit
button and just edit svg code of selected icon:
To register custom set of icons use global or local configuration discribed below:
Configuration:
Global configuration:
Field can be configured globally in NovaServiceProvider
:
Local configuration:
To disable or enable svg editor of the icon:
To register custom set of icons (icons should be located directly in specified folder in .svg format):
To allow certain sets of icons:
Support:
License:
The MIT License (MIT). Please see License File for more information.