arts/edd-recurring-stubs

PHPStan / IDE stubs for EDD Recurring - auto-generated from source, self-contained, consumed via bootstrapFiles.

Maintainers

Package info

github.com/artkrsk/edd-recurring-stubs

pkg:composer/arts/edd-recurring-stubs

Transparency log

Statistics

Installs: 9

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v2.13.1 2026-08-14 05:48 UTC

This package is auto-updated.

Last update: 2026-08-14 06:03:01 UTC


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.