PHPackages                             depsimon/blade-fa5 - 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. [Templating &amp; Views](/categories/templating)
4. /
5. depsimon/blade-fa5

ActiveLibrary[Templating &amp; Views](/categories/templating)

depsimon/blade-fa5
==================

Easily inline Font Awesome 5 icons in your Blade templates

v1.0.1(8y ago)426MITPHPPHP ^7.0

Since Feb 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/depsimon/blade-fa5)[ Packagist](https://packagist.org/packages/depsimon/blade-fa5)[ Docs](https://github.com/depsimon/blade-fa5)[ RSS](/packages/depsimon-blade-fa5/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Blade FontAwesome 5
===================

[](#blade-fontawesome-5)

Easily inline Font Awesome 5 icons in your Blade templates. Heavily inspired by the great \[adamwathan/blade-svg\].

Installation
------------

[](#installation)

You can install this package via Composer by running this command in your terminal in the root of your project:

```
composer require depsimon/blade-fa5
```

Getting started
---------------

[](#getting-started)

Publish the Blade Font Awesome 5 config file:

```
php artisan vendor:publish --provider="Depsimon\BladeFa5\BladeFa5ServiceProvider"
```

Download the [Font Awesome 5](https://fontawesome.com/) latest version (Free or Pro) and put the SVG sprites in your `public/svg` directory.

Configuration
-------------

[](#configuration)

Inside `config/blade-fa5.php`, you can specify the spritesheets directory, the default weight and the default classes for icons.

```
