arts / edd-recurring-stubs
PHPStan / IDE stubs for EDD Recurring - auto-generated from source, self-contained, consumed via bootstrapFiles.
v2.13.1
2026-08-14 05:48 UTC
Requires
- php: >=8.0
- arts/easy-digital-downloads-stubs: ^3.0
- php-stubs/wordpress-stubs: ^6.9
- php-stubs/wp-cli-stubs: ^2.12
Requires (Dev)
- php-stubs/generator: ^0.8
- vlucas/phpdotenv: ^5.6
README
Auto-generated PHPStan / IDE stubs for EDD Recurring.
Self-contained (safe to require_once), so PHPStan can resolve EDD_Subscription,
EDD_Subscriptions_DB, and the rest of the EDD Recurring type surface without the plugin installed.
Usage with PHPStan
parameters: bootstrapFiles: - vendor/arts/edd-recurring-stubs/edd-recurring-stubs.php
Regenerating
Point .env at an EDD Recurring checkout (see .env.example), then:
composer install composer generate
The generator scans the plugin source with php-stubs/generator, strips stray code, neutralizes
abstract methods, injects the EDD_RECURRING_* constants, and appends empty stubs for any
referenced-but-missing parent type so the output loads cleanly on its own.