Download the PHP package welkervinicius/nova-fa-icon without Composer

On this page you can find all versions of the php package welkervinicius/nova-fa-icon. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nova-fa-icon

Font Awesome Icon Picker Field for Laravel Nova

Latest Version on Packagist Total Downloads License

An advanced and performant field for Laravel Nova that allows you to search and select Font Awesome icons.
Built with a modern architecture, it ensures a fast and fluid user experience, even with thousands of icons.

Nova FA Icon Picker Screenshot

Features


Installation

You can install the package via Composer:


Initial Setup

For the icons to be displayed, you need to load the Font Awesome stylesheet.
The easiest way is via CDN.

In your app/Providers/NovaServiceProvider.php, inside the boot() method, add the following Nova::style() line after the parent::boot(); call:


Optional Configuration

You can publish the configuration file to customize the icons.json path and the default styles.

You can also publish the translation files to add new languages or customize the text.


⚙️ Customizing the Icons Source (for Font Awesome Pro or Custom Builds)

Starting from v1.0.1, the configuration file now uses base_path() instead of __DIR__, ensuring that the published config file points to your application's root instead of the package directory.

If you’re using a Pro version of Font Awesome, or your own icon build, you should:

  1. Publish the configuration file (if not already done):

  2. Edit the config/nova-fa-icon.php file, and update the path to your own icons.json.
    For example, Font Awesome Pro typically stores this file at:

    Or, if you have a custom JSON file elsewhere:

  3. The package will automatically load icons from the JSON path defined here.

This approach ensures full compatibility with any Font Awesome package (Free, Pro, or custom) while avoiding path resolution issues after publishing the configuration.


Localization

From v1.1.0, translations are fully namespaced and loaded via the Laravel package system. Supported languages:

Laravel Nova automatically selects the correct translation based on your panel locale.


Usage

Basic Usage

In your Nova Resource, simply add the NovaFaIcon field.

Filtering by Styles

You can restrict the available icon styles for a specific field using the styles() method.

Using an Alias

For cleaner code, you can use an alias in your import statement.


Changelog

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


Contributing

Please see CONTRIBUTING.md for details.


License

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


All versions of nova-fa-icon with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package welkervinicius/nova-fa-icon contains the following files

Loading the files please wait ...