PHPackages                             wpsyntex/polylang-wc-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. wpsyntex/polylang-wc-stubs

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

wpsyntex/polylang-wc-stubs
==========================

Polylang WooCommerce function and class declaration stubs for static analysis.

1.6.1(4y ago)2561[1 PRs](https://github.com/polylang/polylang-wc-stubs/pulls)GPL-3.0-or-laterPHP

Since Jul 2Pushed 2y ago2 watchersCompare

[ Source](https://github.com/polylang/polylang-wc-stubs)[ Packagist](https://packagist.org/packages/wpsyntex/polylang-wc-stubs)[ Docs](https://github.com/polylang/polylang-wc-stubs)[ RSS](/packages/wpsyntex-polylang-wc-stubs/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (5)Used By (0)

Polylang for WooCommerce Stubs
==============================

[](#polylang-for-woocommerce-stubs)

This package provides stub declarations for [Polylang for WooCommerce](https://polylang.pro/downloads/polylang-for-woocommerce/). These stubs can help plugin and theme developers leverage static analysis tools like [PHPStan](https://phpstan.org/).

Stubs are generated directly from the source using [giacocorsiglia/stubs-generator](https://github.com/GiacoCorsiglia/php-stubs-generator).

Requirements
------------

[](#requirements)

- PHP &gt;=7.1

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

[](#installation)

Require this package as a development dependency with Composer.

```
composer require --dev wpsyntex/polylang-wc-stubs
```

Usage in PHPStan
----------------

[](#usage-in-phpstan)

Include the stubs in the PHPStan configuration file.

```
parameters:
  bootstrapFiles:
    - vendor/wpsyntex/polylang-wc-stubs/polylang-wc-stubs.php
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

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 ~49 days

Total

4

Last Release

1626d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/28a15a62bebc943eac612deb52bb1230b71c878f1a6687cdf534b59b73a73ef6?d=identicon)[Screenfeed](/maintainers/Screenfeed)

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/wpsyntex-polylang-wc-stubs/health.svg)

```
[![Health](https://phpackages.com/badges/wpsyntex-polylang-wc-stubs/health.svg)](https://phpackages.com/packages/wpsyntex-polylang-wc-stubs)
```

###  Alternatives

[vantran/lunar-calendar

Thư viện PHP Âm lịch Việt Nam

101.7k](/packages/vantran-lunar-calendar)

PHPackages © 2026

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