Download the PHP package bernhardh/nova-icon-select without Composer

On this page you can find all versions of the php package bernhardh/nova-icon-select. 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-icon-select

Nova Icon Select

This is a laravel nova field to select an icon from an icon set. The icon sets are defined by an IconProvider, so you can define your own set. The package has a predefined IconProvider for FontAwesome 5 Free.

Screenshots

Edit

Edit

Index

Index

Details

Detail

Installation

Install this package with composer

You need to include the styles of the icon set to nova by your own. A common way to do this is to add it to your resources/views/vendor/nova/partials/meta.blade.php.

For FontAwesome you can do this like this:

Of course, you can also host the icon-set on your server or even use completly different icons.

Usage

Like every other field, you can use the field inside your Nova Resource. You will need to provide an IconProvider. Either use the build in FontAwesomeIconProvider or use an instance of IconProvider or create your own.

Using with FontAwesome 5 Free

For FontAwesome 5 Free, there is already a build in Provider. Use it like this:

If you want to change the labels, remove icons or add search tags, you can publish the config:

and now you can modify the config/nova-icon-select/fontawesome.php file as you like.

Using with your own icon sets

To use your own icon set, you can either create your own IconProvider class and extend it from Bernhardh\NovaIconSelect\IconProvider or you can use Bernhardh\NovaIconSelect\IconProvider as an instance and add your options directly.

Use instance and setOptions

Or you can of course also move the options to a config file and get it with config()

Use your own class

Now you can use it

Options

Example:

Each option consist of these fields:

Of course you can move the options to a config file as I did with the FontAwesomeIconProvider

Changelog

Please see CHANGELOG for more information what has changed recently.


All versions of nova-icon-select with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.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 bernhardh/nova-icon-select contains the following files

Loading the files please wait ....