PHPackages                             php-stubs/wordpress-globals - 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. php-stubs/wordpress-globals

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

php-stubs/wordpress-globals
===========================

Global variables and global constants from WordPress core.

v0.2.0(6y ago)13799.0k—9%114MITPHP

Since Dec 20Pushed 4y ago3 watchersCompare

[ Source](https://github.com/php-stubs/wordpress-globals)[ Packagist](https://packagist.org/packages/php-stubs/wordpress-globals)[ Docs](https://github.com/php-stubs/wordpress-globals)[ RSS](/packages/php-stubs-wordpress-globals/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (14)

Global constants from WordPress core
====================================

[](#global-constants-from-wordpress-core)

⚠️ This repository was born deprecated. Please tolerate this.

All issues and pull requests will be rejected.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~23 days

Total

2

Last Release

2318d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/135d8104cdf926e2b15b6a06413153a9582729f0cd48ccba7bc7e62878a39781?d=identicon)[szepeviktor](/maintainers/szepeviktor)

---

Top Contributors

[![danieleperilli](https://avatars.githubusercontent.com/u/9072177?v=4)](https://github.com/danieleperilli "danieleperilli (4 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (4 commits)")

---

Tags

constantglobalphpstanstatic-analysisstubswordpressPHPStanwordpressstatic analysisconstantsglobals

### Embed Badge

![Health badge](/badges/php-stubs-wordpress-globals/health.svg)

```
[![Health](https://phpackages.com/badges/php-stubs-wordpress-globals/health.svg)](https://phpackages.com/packages/php-stubs-wordpress-globals)
```

###  Alternatives

[php-stubs/wordpress-stubs

WordPress function and class declaration stubs for static analysis.

19513.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.8M42](/packages/woocommerce-woocommerce-sniffs)[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)[syde/phpcs

Syde PHP coding standards for WordPress projects.

1019.7k7](/packages/syde-phpcs)

PHPackages © 2026

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