Blomstra Font Awesome 6

License Latest Stable Version Total Downloads

A Flarum extension. Upgrade FontAwesome on your forum to version 6 (Free or Pro).

Please note that you must use a Font Awesome Kit for 6 Pro functionality currently.

Installation

Install with composer:

composer require blomstra/fontawesome:"*"
php flarum assets:publish

Updating

composer update blomstra/fontawesome:"*"
php flarum migrate
php flarum cache:clear
php flarum assets:publish

Troubleshooting

If your icons aren't displaying, you may need to manually publish your forum's assets.

php flarum assets:publish

Links

    davwheat Haha this is so great!! I just remembered the topic today and you magically came up with this 🎩🪄

    It even allows to handle the pro version, which so many users here on Discuss over the years have asked for it, maybe it's a bit out of the project philosophy but I even see this as a future extension of core to handle Font Awesome (?) 🤔

    davwheat What is the difference between having the extension and using the <script src="https://kit.fontawesome.com/zzzzzzz.js" crossorigin="anonymous"></script> that is provided by fontawsome

      0.1.1

      Updating

      composer update blomstra/fontawesome:"*"
      php flarum cache:clear
      php flarum assets:publish

      PHP7.4
      Composer version 2.0.14

      [InvalidArgumentException]
      Package blomstra/fontawesome at version * has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version

        5 days later

        0.1.2

        • Resolve assets URL from filesystem disk instead of UrlGenerator (@SychO)

        Updating

        composer update blomstra/fontawesome:"*"
        php flarum cache:clear
        php flarum assets:publish

        0.1.3

        Updating
        composer require blomstra/fontawesome:"*"
        php flarum cache:clear
        php flarum assets:publish
        5 days later

        Just a curious thing, why do you think the search icon goes up a bit? it seems that removing line-height: 1; from that particular icon fixes it.

        2 months later

        Is discuss.flarum.org now using Fontawesome 6? Because discuss.flarum.org icons is different

          something went wrong after I turned on this extension
          1665560119841.png

          it's expected to be like this
          1665560212482.png