PHPackages                             norman-huth/nova-font-awesome-field - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. norman-huth/nova-font-awesome-field

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

norman-huth/nova-font-awesome-field
===================================

A Laravel Nova field.

1.0.0(3y ago)39.9k↓50%31MITPHPPHP ^8.0

Since Apr 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Muetze42/nova-font-awesome-field)[ Packagist](https://packagist.org/packages/norman-huth/nova-font-awesome-field)[ Fund](https://huth.it/coffee)[ RSS](/packages/norman-huth-nova-font-awesome-field/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (1)

Nova Font Awesome Field
=======================

[](#nova-font-awesome-field)

A [Font Awesome](https://fontawesome.com) icon picker for [Laravel Nova](https://nova.laravel.com/).

Demo:

[![Preview with Style Selector](docs/preview-1.png)](docs/preview-1.png)

[![Preview without Style Selector](docs/preview-2.png)](docs/preview-2.png)

[![Edit Preview](docs/edit.png)](docs/edit.png)

[![Edit Preview (nullable)](docs/edit-nullable.png)](docs/edit-nullable.png)

[![Detail Preview](docs/detail.png)](docs/detail.png)

[![Index Preview](docs/index.png)](docs/index.png)

Install
-------

[](#install)

```
composer require norman-huth/nova-font-awesome-field

```

Usage
-----

[](#usage)

### Add the field.

[](#add-the-field)

```
    /**
     * Get the fields displayed by the resource.
     *
     * @param NovaRequest $request
     * @return array
     */
    public function fields(NovaRequest $request): array
    {
        return [
            \NormanHuth\FontAwesomeField\FontAwesome::make(__('Icon'), 'icon'),
        ];
    }
```

### Optional: Publish Config

[](#optional-publish-config)

In the [config file](config/nova-font-awesome-field.php) you can specify the available Font Awesome styles and set default parameters for the field.

```
php artisan vendor:publish --provider="NormanHuth\FontAwesomeField\FieldServiceProvider" --tag="config"

```

### „Remove Icon“ Option

[](#remove-icon-option)

If the field is `nullable`, the function to remove the icon is also available.

```
FontAwesome::make('icon')->nullable()
```

### Style Selector

[](#style-selector)

To bypass the config settings use these methods.

#### Show Style Selector

[](#show-style-selector)

```
FontAwesome::make('icon')->showStyleSelector()
```

#### Hide Style Selector

[](#hide-style-selector)

```
FontAwesome::make('icon')->hideStyleSelector()
```

### Translations

[](#translations)

This package uses the global translations, so you don't have to maintain them multiple times.

#### Default Texts

[](#default-texts)

```
$this->texts = [
    'header'   => __('Edit Icon'),
    'cancel'   => __('Cancel'),
    'update'   => __('Update'),
    'search'   => __('Search'),
    'remove'   => __('Remove Icon'),
    'styles'   => __('Styles'),
    'more'     => __('Load more'),
    'null'     => __('No Icons Found'),
];
```

##### Change A Text

[](#change-a-text)

```
use NormanHuth\FontAwesomeField\FontAwesome;

FontAwesome::make('icon')->setText('header', __('Edit Icon'))
FontAwesome::make('icon')->setText('cancel', __('Cancel'))
FontAwesome::make('icon')->setText('update', __('Update'))
FontAwesome::make('icon')->setText('search', __('Search'))
FontAwesome::make('icon')->setText('remove', __('Remove Icon'))
FontAwesome::make('icon')->setText('Styles', __('Styles'))
FontAwesome::make('icon')->setText('more', __('Load more'))
FontAwesome::make('icon')->setText('null', __('No Icons Found'))
```

### Icon Set

[](#icon-set)

Default icons in this package: Font Awesome Free 6.4.0.

#### Use Other Version Or Font Awesome Pro

[](#use-other-version-or-font-awesome-pro)

- Download the wanted Font Awesome package from the [Font Awesome Website](https://fontawesome.com/download)
- Copy the `metadata/icons.json` file to Your Laravel installation
- Change the `icon-file` path to Your `icons.json` in Your `config/nova-font-awesome-field.php` config file
- Optional, but recommended: Remove unnecessary elements from the `icons.json` with `php artisan nova-fa-field:shrink-icon-file` command

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1133d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2579233?v=4)[Muetze](/maintainers/Muetze)[@muetze](https://github.com/muetze)

---

Top Contributors

[![Muetze42](https://avatars.githubusercontent.com/u/26193232?v=4)](https://github.com/Muetze42 "Muetze42 (9 commits)")

---

Tags

fontawesomelaravellaravel-novalaravelnova

### Embed Badge

![Health badge](/badges/norman-huth-nova-font-awesome-field/health.svg)

```
[![Health](https://phpackages.com/badges/norman-huth-nova-font-awesome-field/health.svg)](https://phpackages.com/packages/norman-huth-nova-font-awesome-field)
```

###  Alternatives

[optimistdigital/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2872.1M6](/packages/optimistdigital-nova-sortable)[outl1ne/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2861.8M9](/packages/outl1ne-nova-sortable)[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

14720.0k](/packages/markwalet-nova-modal-response)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
