PHPackages                             onepix/carbon-fields-stubs - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. onepix/carbon-fields-stubs

ActiveLibrary[Testing &amp; Quality](/categories/testing)

onepix/carbon-fields-stubs
==========================

Stubs for the Carbon Fields plugin for static analysis

v3.6.5(1y ago)0797MITShell

Since Mar 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/0zd0/carbon-fields-stubs)[ Packagist](https://packagist.org/packages/onepix/carbon-fields-stubs)[ Docs](https://github.com/0zd0/carbon-fields-stubs)[ RSS](/packages/onepix-carbon-fields-stubs/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (6)Versions (2)Used By (0)

Carbon Fields Stubs
===================

[](#carbon-fields-stubs)

### Installation

[](#installation)

```
composer require --dev onepix/carbon-fields-stubs
```

It contains stub declarations for [Carbon Fields](https://github.com/htmlburger/carbon-fields)core functions, classes, interfaces, global variables.

Compatible with Psalm ([psalm-plugin-wordpress](https://github.com/psalm/psalm-plugin-wordpress)), PHPStan (not tested)

Generated by [wordpress-stubs-generator](https://github.com/0zd0/wordpress-stubs-generator)

### Requirements

[](#requirements)

- PHP 8.1+

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance42

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

474d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/380c3a3697647ffa6dacfa3f41ef2d8ea43a40a12a823d380b843b57ac14750c?d=identicon)[onepix](/maintainers/onepix)

![](https://avatars.githubusercontent.com/u/67220210?v=4)[zd](/maintainers/0zd0)[@0zd0](https://github.com/0zd0)

---

Top Contributors

[![0zd0](https://avatars.githubusercontent.com/u/67220210?v=4)](https://github.com/0zd0 "0zd0 (9 commits)")

---

Tags

PHPStanwordpressstatic analysispsalmcarbon fields

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/onepix-carbon-fields-stubs/health.svg)

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

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.5k55.4M8.4k](/packages/larastan-larastan)[wp-coding-standards/wpcs

PHP\_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

2.8k47.8M2.2k](/packages/wp-coding-standards-wpcs)[szepeviktor/phpstan-wordpress

WordPress extensions for PHPStan

33110.3M1.4k](/packages/szepeviktor-phpstan-wordpress)[phpcompatibility/phpcompatibility-wp

A ruleset for PHP\_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.

22134.3M759](/packages/phpcompatibility-phpcompatibility-wp)[php-stubs/acf-pro-stubs

Advanced Custom Fields PRO stubs for static analysis.

75813.5k85](/packages/php-stubs-acf-pro-stubs)[mrpunyapal/peststan

PHPStan extension for Pest PHP testing framework

4983.7k22](/packages/mrpunyapal-peststan)

PHPackages © 2026

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