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)0608MITShell

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 1mo ago

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 49% of packages

Maintenance45

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

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

424d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/7f618d5c06c711c1eada5b9569aad7cee6d81e830566775e7734dd87828e8fdc?d=identicon)[0zd0](/maintainers/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.4k43.5M5.2k](/packages/larastan-larastan)[wp-coding-standards/wpcs

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

2.7k42.5M1.6k](/packages/wp-coding-standards-wpcs)[szepeviktor/phpstan-wordpress

WordPress extensions for PHPStan

3257.8M898](/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.

21830.6M587](/packages/phpcompatibility-phpcompatibility-wp)[ekino/phpstan-banned-code

Detected banned code using PHPStan

2925.6M92](/packages/ekino-phpstan-banned-code)[shipmonk/dead-code-detector

Dead code detector to find unused PHP code via PHPStan extension. Can automatically remove dead PHP code. Supports libraries like Symfony, Doctrine, PHPUnit etc. Detects dead cycles. Can detect dead code that is tested.

3462.2M52](/packages/shipmonk-dead-code-detector)

PHPackages © 2026

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