Download the PHP package klickmanufaktur/statamic-fontawesome-icon-picker without Composer

On this page you can find all versions of the php package klickmanufaktur/statamic-fontawesome-icon-picker. 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 statamic-fontawesome-icon-picker

FontAwesome Icon Picker

A searchable, virtualized FontAwesome (Pro) icon picker fieldtype for Statamic 6.

Requirements

Installation

This package is consumed as a local path repository. In the host app's composer.json:

FontAwesome Pro required. The compiled CP assets and the icon datasets are derived from FontAwesome Pro and are not shipped with this package (Pro assets may not be redistributed). After installing, build them once with your own FA Pro token — see below.

Building the CP assets

Required once after installing (the assets and icon data are not shipped) and again whenever you change the Vue component or styles. Provide your FA Pro token first (see .npmrc.example):

The host app serves CP assets from a published copy in public/vendor/statamic-fontawesome-icon-picker, not from the addon directly, so after every build re-publish them (otherwise the CP keeps loading the old bundle):

Regenerating the icon data

npm run build-icons (run above) reads the FA Pro metadata from node_modules and writes the datasets to resources/js/data. Re-run it after a FontAwesome version bump.

Solid/Regular/Light/Thin share the same icon set, so they are baked into a single fa-classic.json; brand logos go into fa-brands.json. An icon only carries a w (weights) list when it does not ship in every classic weight – the picker treats a missing w as "available in all classic weights". German keywords are generated word-by-word via the EN→DE map inside bin/build-icons.mjs; extend that map to improve German search coverage.

Migrating legacy data

Earlier versions of a site may have stored only the bare icon name (e.g. rocket) and prepended the style in the template. This fieldtype stores the full class string (fa-regular fa-rocket). The bundled command rewrites the old values in place across all entries, globals and taxonomy terms:

Usage

Add the fieldtype to a blueprint or fieldset:

Configuration

Option Description Default
styles Which style tabs are offered in the picker. solid, regular, light, brands
default_style Preselected style when the picker opens. regular

Templating (Antlers)

The stored value is a full class string, so render it directly:

The fieldtype's augment() guarantees the value is always a well-formed fa-{style} fa-{name} string (anything else is discarded), so {{ icon }} is safe without |raw.


All versions of statamic-fontawesome-icon-picker with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
statamic/cms Version ^6.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 klickmanufaktur/statamic-fontawesome-icon-picker contains the following files

Loading the files please wait ...