Search by

iconify-set / fa6-solid

abetwothree

Font Awesome 6 Solid from Iconify: a PHP enum of every icon name, plus the set's Iconify JSON data.

Package info

github.com/iconify-set/fa6-solid

Homepage

Issues

Type:iconify-set

pkg:composer/iconify-set/fa6-solid

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

2.2.565 2026-12-02 02:34 UTC

This package is auto-updated.

Last update: 2026-12-02 03:23:33 UTC


README

The Font Awesome 6 Solid icon set from Iconify, as a PHP enum with every icon name, plus the set's Iconify JSON data.

Important

This package is generated automatically by abetwothree/iconify-sets from the iconify/json package. Do not edit it by hand. Open issues and pull requests in abetwothree/iconify-sets.

Browse the icons at icon-sets.iconify.design/fa6-solid.

Installation

composer require iconify-set/fa6-solid

Usage

Each icon is a case of the string-backed IconifySet\Fa6Solid enum. The case value is the full Iconify icon name.

use IconifySet\Fa6Solid;

$icon = Fa6Solid::LocationPin;

// 'fa6-solid:location-pin', the full Iconify icon name
$icon->value;

// Fa6Solid::LocationPin
Fa6Solid::from('fa6-solid:location-pin');

// null
Fa6Solid::tryFrom('fa6-solid:not-an-icon');

Case names are the icon names in StudlyCase: account-check becomes AccountCheck. A part of a name that starts with a digit gets a _ in front, so 1-2-3 becomes _1_2_3. The names class and namespace also get a _ in front: _Class and _Namespace. Icon aliases have their own cases, so the enum can have more cases than the icon count below.

Cases for icons that Iconify has hidden are marked @deprecated. They still render, but Iconify no longer lists them.

Using it with Laravel Iconify API

This package works on its own. The enum and the JSON data need no other package.

To render these icons in a Laravel app, install it alongside Laravel Iconify API. That package serves Iconify icons from your Laravel app to Iconify's on-demand icon components, and renders icons inline as SVG in Blade views and PHP. It reads the icon data from this package, so your app does not need Iconify's npm icon sets. See its README for setup.

Icon set details

Iconify prefix fa6-solid
Icons 1,402
Deprecated icons 5 (hidden by Iconify, still rendered)
Author Dave Gandy
License CC BY 4.0 (CC-BY-4.0)
Category Archive / Unmaintained
Upstream version 6.7.2
Grid height 32px
Colors Monotone (uses currentColor)
Tags Precise Shapes

Included files

Path Contents
src/Fa6Solid.php The IconifySet\Fa6Solid enum
icons.json The full Iconify JSON for the set: icons, aliases and SVG bodies
info.json The set's prefix and info, as in the npm package
metadata.json Categories, themes, prefixes and suffixes

License

The icons are made by Dave Gandy and licensed under CC BY 4.0 (CC-BY-4.0). The same license applies to this package.