PHPackages                             tryfirst/fontawesome-generator - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tryfirst/fontawesome-generator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tryfirst/fontawesome-generator
==============================

Faker extension for randomly picking a FontAwesome Icon

v0.0.2(6y ago)05MITPHP

Since May 22Pushed 6y agoCompare

[ Source](https://github.com/TryFirst/faker-fontawesome)[ Packagist](https://packagist.org/packages/tryfirst/fontawesome-generator)[ RSS](/packages/tryfirst-fontawesome-generator/feed)WikiDiscussions master Synced 2d ago

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

Faker-FontAwesome
=================

[](#faker-fontawesome)

Faker extension for randomly picking a [FontAwesome](https://fontawesome.com/) (5.9.0 / 2019-07-14) icon.

Faker Extension
===============

[](#faker-extension)

An extension of the [fzaninotto/Faker](https://github.com/fzaninotto/Faker) PHP Library. This has two functions that will either return a random icon name or the entire array of names. This extension was forked from [IORoot/faker-fontawesome](https://github.com/IORoot/faker-fontawesome).

The library contains all of [FontAwesome's Library](https://fontawesome.com/cheatsheet).

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

[](#installation)

```
composer require tryfirst/fontawe-somegenerator
```

Alternatively, add to your composer.json file with:

```
"require": {
        "tryfirst/fontawe-somegenerator": "v0.0.2"
    }
```

Usage
-----

[](#usage)

Use the `FontAwesomeGeneratorProvider` class in combination with [Faker](https://github.com/fzaninotto/Faker) to produce the random font name:

```
