PHPackages                             mintis/webfont-checker - 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. mintis/webfont-checker

ActiveWp-cli-package[Utility &amp; Helpers](/categories/utility)

mintis/webfont-checker
======================

Een WP-CLI extensie voor het scannen en optimaliseren van webfonts.

037JavaScript

Since Feb 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Dreejt/mintis-webfont-checker)[ Packagist](https://packagist.org/packages/mintis/webfont-checker)[ RSS](/packages/mintis-webfont-checker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Webfont Checker
===============

[](#webfont-checker)

Overview
--------

[](#overview)

Webfont Checker is a powerful tool designed to analyze the fonts used on a WordPress website. It scans all internal pages, detects which fonts and font-weights are actively used, and identifies unnecessary fonts loaded via `@font-face` or preload links.

This tool is particularly useful for optimizing performance by removing unused webfonts, reducing page load times, and improving overall efficiency.

Features
--------

[](#features)

- **Automatic site crawling**: Scans all internal pages to ensure complete font analysis.
- **Font weight detection**: Identifies all font-weights used across the website.
- **Preload &amp; @font-face analysis**: Detects fonts loaded via `@font-face` rules and preload links.
- **Identifies unused fonts**: Helps optimize performance by suggesting font removals.
- **Supports WordPress WP-CLI**: Easily integrate with WordPress via WP-CLI commands.

Requirements
------------

[](#requirements)

- **Node.js** (must be installed and available in the system path)
- **Puppeteer** (automatically installed if missing)
- **WP-CLI** (WordPress Command Line Interface)

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

[](#installation)

### 1. Install via Composer

[](#1-install-via-composer)

`composer require mintis/webfont-checker --dev`

### 2. Activate WP-CLI Command

[](#2-activate-wp-cli-command)

After installation, WP-CLI should automatically register the `webfont` command. To verify installation, run: `wp webfont scan`

If the command is not found, ensure WP-CLI is properly installed and that the package is correctly registered.

Usage
-----

[](#usage)

### Running a Font Scan

[](#running-a-font-scan)

To perform a full scan of your website, use the following command: `wp webfont scan`

### Example Output

[](#example-output)

🔍 Starting crawl from: 📌 Found internal pages: 12 🔍 Analyzing: ... 🚀 **Used font-weights &amp; styles across the entire site:**🎨 Roboto: 400, 700, 900 🎨 Open Sans: 300, 400 italic

🖋 **Loaded fonts and font-weights via @font-face and preload links:**🎨 Lato: 100, 300, 400, 700, 900

❌ **Unused loaded fonts and weights! Consider removing these:**Lato (100, 300, 700, 900)

✅ Scan complete! Check if you are loading unnecessary @font-face fonts.

Troubleshooting
---------------

[](#troubleshooting)

### Node.js Not Found

[](#nodejs-not-found)

If Node.js is not detected, install it using:

macOS
=====

[](#macos)

`brew install node`

Linux (Debian-based)
====================

[](#linux-debian-based)

`sudo apt install nodejs npm`

Windows
=======

[](#windows)

Download from

### WP-CLI Not Found

[](#wp-cli-not-found)

Ensure WP-CLI is installed by running: `wp --info`

If WP-CLI is missing, install it by following the official guide: [WP-CLI Installation](https://wp-cli.org/)

### Manually Installing Dependencies

[](#manually-installing-dependencies)

If Puppeteer is not installed, manually install it using: `cd path/to/webfont-checker``npm install puppeteer`

Contributing
------------

[](#contributing)

Feel free to contribute to Webfont Checker by submitting pull requests or reporting issues in the GitHub repository.

License
-------

[](#license)

This project is licensed under the MIT License.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d05d9d0bef6011d57120bb2bc5888690fece6af65cc2bb664606d1e6e4180b04?d=identicon)[Mintis](/maintainers/Mintis)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mintis-webfont-checker/health.svg)

```
[![Health](https://phpackages.com/badges/mintis-webfont-checker/health.svg)](https://phpackages.com/packages/mintis-webfont-checker)
```

PHPackages © 2026

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