PHPackages                             htmlburger/carbon-fields-yoast - 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. htmlburger/carbon-fields-yoast

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

htmlburger/carbon-fields-yoast
==============================

Helper library that allows developers to choose which fields from Carbon Fields to include in the Yoast readability score meter

v1.0.1(7y ago)114.0k↓50%6[4 issues](https://github.com/htmlburger/carbon-fields-yoast/issues)GPL-2.0-onlyJavaScript

Since Feb 25Pushed 4y ago7 watchersCompare

[ Source](https://github.com/htmlburger/carbon-fields-yoast)[ Packagist](https://packagist.org/packages/htmlburger/carbon-fields-yoast)[ RSS](/packages/htmlburger-carbon-fields-yoast/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (6)Used By (0)

Carbon Fields Yoast
===================

[](#carbon-fields-yoast)

**Carbon Fields Yoast** is an addon to Carbon Fields that allows developers to choose which fields from Carbon Fields to include in the Yoast readability score meter.

How to use?
-----------

[](#how-to-use)

Install via composer:

```
composer require htmlburger/carbon-fields-yoast
```

In `functions.php`, add the following:

```
add_action( 'after_setup_theme', 'crb_initialize_carbon_yoast' );
function crb_initialize_carbon_yoast() {
	include_once __DIR__ . '/vendor/autoload.php';

	new \Carbon_Fields_Yoast\Carbon_Fields_Yoast;
}

add_action( 'admin_enqueue_scripts', 'crb_enqueue_admin_scripts' );
function crb_enqueue_admin_scripts() {
	wp_enqueue_script( 'crb-admin', get_stylesheet_directory_uri() . '/js/admin.js', array( 'carbon-fields-yoast' ) );
}
```

In `js/admin.js` in your theme, add the following:

```
var $doc = $(document);
var $win = $(window);

$doc.ready(function () {
	$win.on('YoastSEO:ready', function () {
		new CarbonFieldsYoast();
	});
});
```

This will initialize the Carbon Fields Yoast addon. The `CarbonFieldsYoast` object accepts the following arguments:

`[Number] refreshInterval - Defaults to 300ms`

This is the time interval on which the meta fields are being parsed.

`[Array] fieldsByTypeToExclude`

This contains the type of fields that shouldn't be parsed. By default, only text, textarea and rich text fields are being parsed.

`[Array] fieldsByNameToExclude`

This contains the name of the fields that shouldn't be parsed. By default, there aren't excluded fields.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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

Every ~539 days

Total

3

Last Release

1560d ago

Major Versions

v1.0.1 → v2.0.0-alpha.12022-02-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/57fb2f1cd0bc42cd031358525324075555748e977c5618b614c3c0f2e8e9d608?d=identicon)[htmlburger-git](/maintainers/htmlburger-git)

---

Top Contributors

[![jorostoyanov](https://avatars.githubusercontent.com/u/6777091?v=4)](https://github.com/jorostoyanov "jorostoyanov (6 commits)")[![htmlburger-git](https://avatars.githubusercontent.com/u/1150772?v=4)](https://github.com/htmlburger-git "htmlburger-git (1 commits)")

### Embed Badge

![Health badge](/badges/htmlburger-carbon-fields-yoast/health.svg)

```
[![Health](https://phpackages.com/badges/htmlburger-carbon-fields-yoast/health.svg)](https://phpackages.com/packages/htmlburger-carbon-fields-yoast)
```

PHPackages © 2026

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