PHPackages                             spaze/fa-extract - 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. spaze/fa-extract

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

spaze/fa-extract
================

A tool to extract only used icons from Font Awesome JS/SVG icons sets

v0.0.1(6y ago)518MITPHP

Since Jul 23Pushed 2y agoCompare

[ Source](https://github.com/spaze/fa-extract)[ Packagist](https://packagist.org/packages/spaze/fa-extract)[ RSS](/packages/spaze-fa-extract/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

fa-extract
==========

[](#fa-extract)

A tool to extract only used icons from Font Awesome JS/SVG icons sets.

### Unsupported, archived, I have started using a different icon pack ( by @Zraly) and a different loader (I embed SVG icons into my HTML with [spaze/svg-icons-latte](https://github.com/spaze/svg-icons-latte))

[](#unsupported-archived-i-have-started-using-a-different-icon-pack-httpshumbleiconscom-by-zraly-and-a-different-loader-i-embed-svg-icons-into-my-html-with-spazesvg-icons-latte)

This should be considered a quick and dirty hack, a *pre-alpha* code. I use it to make my Font Awesome JS file smaller but YMMV.

Install
-------

[](#install)

```
composer create-project spaze/fa-extract path/to/install

```

E.g.

```
composer create-project spaze/fa-extract vendor/spaze/fa-extract

```

Or wherever. This is installed as a *project*, not a library, because it's not a library. Your project code is not calling it directly and it might have a dependencies in the future that might collide with your project dependencies.

Usage
-----

[](#usage)

```
php vendor/spaze/fa-extract/bin/fa-extract . ~/desktop/fontawesome-free-5.9.0-web > used.js

```

Minify
------

[](#minify)

You can minify the output (`used.js` above) using [Closure Compiler](https://closure-compiler.appspot.com/home) to save roughly 50% of the file size.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2487d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6777bd445610e6e458e4d41bdefa3070d2ed4e068323362353b061b15e9ff81b?d=identicon)[spaze](/maintainers/spaze)

---

Top Contributors

[![spaze](https://avatars.githubusercontent.com/u/1966648?v=4)](https://github.com/spaze "spaze (3 commits)")

---

Tags

extractfont-awesomefontawesomefontawesome5javascriptphpsvg

### Embed Badge

![Health badge](/badges/spaze-fa-extract/health.svg)

```
[![Health](https://phpackages.com/badges/spaze-fa-extract/health.svg)](https://phpackages.com/packages/spaze-fa-extract)
```

###  Alternatives

[roomies/phonable

Gather insights and verify phone numbers from multiple third-party providers.

123.5k](/packages/roomies-phonable)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
