PHPackages                             onepix/wp-cafe-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. onepix/wp-cafe-stubs

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

onepix/wp-cafe-stubs
====================

Stubs for the WP Cafe plugin for static analysis

v2.2.33(1y ago)0247MITShell

Since Apr 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/0zd0/wp-cafe-stubs)[ Packagist](https://packagist.org/packages/onepix/wp-cafe-stubs)[ Docs](https://github.com/0zd0/wp-cafe-stubs)[ RSS](/packages/onepix-wp-cafe-stubs/feed)WikiDiscussions main Synced 1mo ago

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

WP Cafe Stubs
=============

[](#wp-cafe-stubs)

### Installation

[](#installation)

```
composer require --dev onepix/wp-cafe-stubs
```

It contains stub declarations for [WP Cafe](https://wordpress.org/plugins/wp-cafe/) 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

28

—

LowBetter than 54% of packages

Maintenance49

Moderate activity, may be stable

Popularity11

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

378d 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 (4 commits)")

---

Tags

PHPStanwordpressstatic analysispsalmdokan

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/onepix-wp-cafe-stubs/health.svg)

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

###  Alternatives

[php-stubs/wordpress-stubs

WordPress function and class declaration stubs for static analysis.

19013.0M263](/packages/php-stubs-wordpress-stubs)[php-stubs/woocommerce-stubs

WooCommerce function and class declaration stubs for static analysis.

942.9M66](/packages/php-stubs-woocommerce-stubs)[php-stubs/wp-cli-stubs

WP-CLI function and class declaration stubs for static analysis.

302.3M79](/packages/php-stubs-wp-cli-stubs)[woocommerce/woocommerce-sniffs

WooCommerce sniffs

496.8M40](/packages/woocommerce-woocommerce-sniffs)[php-stubs/wordpress-globals

Global variables and global constants from WordPress core.

13799.0k17](/packages/php-stubs-wordpress-globals)[johnbillion/wp-compat

PHPStan extension to help verify that your PHP code is compatible with a given version of WordPress

24115.0k10](/packages/johnbillion-wp-compat)

PHPackages © 2026

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