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

ActiveLibrary

shinepress/woocommerce-packages-stubs
=====================================

WooCommerce packages function and class declaration stubs for static analysis split into multiple files for increased performance.

10.6.2(1mo ago)00MIT

Since Dec 6Pushed 1mo agoCompare

[ Source](https://github.com/shinepress/woocommerce-packages-stubs)[ Packagist](https://packagist.org/packages/shinepress/woocommerce-packages-stubs)[ RSS](/packages/shinepress-woocommerce-packages-stubs/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (166)Used By (0)

shinepress/woocommerce-packages-stubs
=====================================

[](#shinepresswoocommerce-packages-stubs)

[![Latest Version](https://camo.githubusercontent.com/a95799ba09cdad736b5e017cd87e85fa39b433354b84ac58b9147bcd9f0f6668/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7368696e6570726573732f776f6f636f6d6d657263652d7061636b616765732d73747562733f6c6162656c3d6c6174657374)](https://packagist.org/packages/shinepress/woocommerce-packages-stubs/)[![Downloads](https://camo.githubusercontent.com/d472d8fa5a11a7b74253594819dc88ef4a1ddfe18caa1d2a054f97d8d3bb6c6a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7368696e6570726573732f776f6f636f6d6d657263652d7061636b616765732d73747562733f6c6162656c3d646f776e6c6f616473)](https://packagist.org/packages/shinepress/woocommerce-packages-stubs/)

Description
-----------

[](#description)

WooCommerce packages function and class declaration stubs for static analysis split into multiple files for increased performance. Automatically generated from the [woocommerce-packages-stubs.php](https://github.com/php-stubs/woocommerce-stubs/blob/master/woocommerce-packages-stubs.php) stubfile in [php-stubs/woocommerce-stubs](https://github.com/php-stubs/woocommerce-stubs/).

Installation
------------

[](#installation)

The recommendend installation method is with composer:

```
$ composer require --dev shinepress/woocommerce-packages-stubs
```

**Note:** only tagged versions are functional, dev-main will not provide any stubfiles.

Usage
-----

[](#usage)

Just register the autoloader as a bootstrap file in your phpstan config:

```
parameters:
    bootstrapFiles:
        - ./vendor/shinepress/woocommerce-packages-stubs/autoload.php
```

Acknowledgements
----------------

[](#acknowledgements)

The project is made possible by:

- [php-stubs/woocommerce-stubs](https://packagist.org/packages/php-stubs/woocommerce-stubs) ([Viktor Szépe](https://github.com/szepeviktor))
- [czproject/git-php](https://packagist.org/packages/czproject/git-php) ([Jan Pecha](https://github.com/janpecha))
- [nikic/php-parser](https://packagist.org/packages/nikic/php-parser) ([Nikita Popov](https://github.com/nikic))

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance91

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~14 days

Recently: every ~7 days

Total

165

Last Release

42d ago

Major Versions

5.9.1 → 6.0.12022-04-30

6.9.4 → 7.0.02022-10-12

7.9.0 → 8.0.12023-08-09

8.9.1 → 9.0.02024-06-18

9.9.5 → 10.0.22025-07-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8301342?v=4)[Shine United](/maintainers/shineunited)[@shineunited](https://github.com/shineunited)

---

Top Contributors

[![rmlasseter](https://avatars.githubusercontent.com/u/5660821?v=4)](https://github.com/rmlasseter "rmlasseter (7 commits)")[![shineadmin](https://avatars.githubusercontent.com/u/3662582?v=4)](https://github.com/shineadmin "shineadmin (1 commits)")

---

Tags

PHPStanwordpressstatic analysiswoocommerce

### Embed Badge

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

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

###  Alternatives

[php-stubs/woocommerce-stubs

WooCommerce function and class declaration stubs for static analysis.

942.9M66](/packages/php-stubs-woocommerce-stubs)[szepeviktor/phpstan-wordpress

WordPress extensions for PHPStan

3257.8M898](/packages/szepeviktor-phpstan-wordpress)[php-stubs/wordpress-stubs

WordPress function and class declaration stubs for static analysis.

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

WooCommerce sniffs

496.8M42](/packages/woocommerce-woocommerce-sniffs)[php-stubs/acf-pro-stubs

Advanced Custom Fields PRO stubs for static analysis.

73692.8k50](/packages/php-stubs-acf-pro-stubs)[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)
