PHPackages                             arts/easy-digital-downloads-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. arts/easy-digital-downloads-stubs

ActiveLibrary

arts/easy-digital-downloads-stubs
=================================

Comprehensive PHPStan stubs for Easy Digital Downloads (core) - auto-generated, self-contained, plug &amp; play

v3.7.0(yesterday)014↑2685.7%3GPL-3.0-or-laterPHPPHP &gt;=8.0CI passing

Since May 16Pushed yesterdayCompare

[ Source](https://github.com/artkrsk/easy-digital-downloads-stubs)[ Packagist](https://packagist.org/packages/arts/easy-digital-downloads-stubs)[ Fund](https://www.buymeacoffee.com/artemsemkin)[ RSS](/packages/arts-easy-digital-downloads-stubs/feed)WikiDiscussions master Synced today

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

Easy Digital Downloads Stubs
============================

[](#easy-digital-downloads-stubs)

[![Test](https://github.com/artkrsk/easy-digital-downloads-stubs/actions/workflows/integrate.yml/badge.svg)](https://github.com/artkrsk/easy-digital-downloads-stubs/actions/workflows/integrate.yml)[![Latest Release](https://camo.githubusercontent.com/f1e791816a74a42b8b80b058433d925c75d24085acd38a54ed9df91ac9bb3e04/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6172746b72736b2f656173792d6469676974616c2d646f776e6c6f6164732d7374756273)](https://github.com/artkrsk/easy-digital-downloads-stubs/releases/latest)[![PHP Version](https://camo.githubusercontent.com/b604973a6e760072acc5f50506cd076b28764eb2265a3a5d2ad1d94a149d667c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f617274732f656173792d6469676974616c2d646f776e6c6f6164732d73747562732f706870)](https://packagist.org/packages/arts/easy-digital-downloads-stubs)[![Buy Me A Coffee](https://camo.githubusercontent.com/21ed208e3ebb5ac22c5aec8b397de95a2af4e4c88f7adeb89fc7354af38afda3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275792532304d6525323041253230436f666665652d737570706f72742d79656c6c6f773f6c6f676f3d6275792d6d652d612d636f66666565)](https://buymeacoffee.com/artemsemkin)

Comprehensive PHPStan stubs for Easy Digital Downloads core.

Get full IDE autocomplete, IntelliSense, and type safety when developing EDD-powered WordPress plugins, themes, and extensions.

Features
--------

[](#features)

- Full IDE autocomplete for all EDD core classes and functions
- Type safety and static analysis with PHPStan
- Catch errors before runtime when building EDD integrations and order pipelines
- Self-contained — includes WordPress core stubs as a transitive dependency
- Generated directly from upstream EDD source on WordPress.org

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

[](#requirements)

- PHP 8.0 or higher
- PHPStan for static analysis
- Automatically pulls in WordPress and WP-CLI stubs as dependencies

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

[](#installation)

```
composer require --dev arts/easy-digital-downloads-stubs
```

Usage with PHPStan
------------------

[](#usage-with-phpstan)

Add to your `phpstan.neon`:

```
parameters:
    bootstrapFiles:
        - vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
        - vendor/php-stubs/wp-cli-stubs/wp-cli-stubs.php
        - vendor/arts/easy-digital-downloads-stubs/easy-digital-downloads-stubs.php
```

Regenerating Stubs
------------------

[](#regenerating-stubs)

For contributors or to generate stubs from a specific EDD version:

1. Copy `.env.example` to `.env`
2. Set `EDD_PATH` to your Easy Digital Downloads installation
3. Run: `composer generate`

```
cp .env.example .env
# Edit .env with your paths
composer generate
```

💖 Support
---------

[](#-support)

If you find this package useful, consider buying me a coffee:

[![Buy Me A Coffee](https://camo.githubusercontent.com/0cf29a542375e1a46e84d8bf5805a4e5c0a6ee98b6547ccdc0c55eed49d99c69/68747470733a2f2f63646e2e6275796d6561636f666665652e636f6d2f627574746f6e732f76322f64656661756c742d79656c6c6f772e706e67)](https://buymeacoffee.com/artemsemkin)

---

Made with ❤️ by [Artem Semkin](https://artemsemkin.com)

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance100

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity40

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

Total

2

Last Release

1d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7bea30c2234cb7a9564df323f88f993da491615955ed3fb66a42db98c12d0d15?d=identicon)[artkrsk](/maintainers/artkrsk)

---

Top Contributors

[![artkrsk](https://avatars.githubusercontent.com/u/15735987?v=4)](https://github.com/artkrsk "artkrsk (8 commits)")

---

Tags

PHPStanwordpressstatic analysisstubseddtype-safetyintellisensetype-definitionside-autocompleteeasy-digital-downloads

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/arts-easy-digital-downloads-stubs/health.svg)

```
[![Health](https://phpackages.com/badges/arts-easy-digital-downloads-stubs/health.svg)](https://phpackages.com/packages/arts-easy-digital-downloads-stubs)
```

###  Alternatives

[php-stubs/woocommerce-stubs

WooCommerce function and class declaration stubs for static analysis.

953.7M128](/packages/php-stubs-woocommerce-stubs)[php-stubs/acf-pro-stubs

Advanced Custom Fields PRO stubs for static analysis.

73862.0k98](/packages/php-stubs-acf-pro-stubs)

PHPackages © 2026

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