arts/edd-all-access-stubs

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

Maintainers

Package info

github.com/artkrsk/edd-all-access-stubs

pkg:composer/arts/edd-all-access-stubs

Transparency log

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.2.6.1 2026-08-14 06:15 UTC

This package is auto-updated.

Last update: 2026-08-14 06:15:42 UTC


README

Auto-generated PHPStan / IDE stubs for EDD All Access. Self-contained (safe to require_once), so PHPStan can resolve edd_all_access_get_all_access_downloads, edd_all_access_product_download_url, and the rest of the EDD All Access type surface without the plugin installed.

Usage with PHPStan

parameters:
    bootstrapFiles:
        - vendor/arts/edd-all-access-stubs/edd-all-access-stubs.php

Regenerating

Point .env at an EDD All Access 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_ALL_ACCESS_* constants, and appends empty stubs for any referenced-but-missing parent type so the output loads cleanly on its own. EDD core, EDD Software Licensing, and EDD Recurring symbols are resolved through their own stub packages (preloaded during generation) rather than re-stubbed, so the output can be loaded alongside them without redeclaration.