PHPackages                             kimhf/woocommerce-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. kimhf/woocommerce-stubs

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

kimhf/woocommerce-stubs
=======================

Stubs for the WooCommerce WordPress plugin, used for static analysis.

v0.2(6y ago)25611[1 PRs](https://github.com/kimhf/woocommerce-stubs/pulls)MITPHP

Since Oct 26Pushed 6y ago1 watchersCompare

[ Source](https://github.com/kimhf/woocommerce-stubs)[ Packagist](https://packagist.org/packages/kimhf/woocommerce-stubs)[ RSS](/packages/kimhf-woocommerce-stubs/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

WooCommerce Stubs
=================

[](#woocommerce-stubs)

WooCommerce Stubs is used to statically analyse codebases to ensure compatibility with the WooCommerce WordPress plugin.

Usage with Psalm
----------------

[](#usage-with-psalm)

Update the Psalm config to include the stubs:

```

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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

Every ~0 days

Total

2

Last Release

2389d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

static-analysiswoocommercewordpresswordpressstatic analysiswoocommerce

### Embed Badge

![Health badge](/badges/kimhf-woocommerce-stubs/health.svg)

```
[![Health](https://phpackages.com/badges/kimhf-woocommerce-stubs/health.svg)](https://phpackages.com/packages/kimhf-woocommerce-stubs)
```

###  Alternatives

[php-stubs/woocommerce-stubs

WooCommerce function and class declaration stubs for static analysis.

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

WooCommerce sniffs

496.8M42](/packages/woocommerce-woocommerce-sniffs)[php-stubs/wp-cli-stubs

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

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

PHPackages © 2026

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