arts/edd-software-licensing-stubs

Comprehensive PHPStan stubs for EDD Software Licensing - auto-generated, self-contained, plug & play

Maintainers

Package info

github.com/artkrsk/edd-software-licensing-stubs

pkg:composer/arts/edd-software-licensing-stubs

Transparency log

Fund package maintenance!

Buy Me A Coffee

Statistics

Installs: 8

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v3.8.12 2026-05-16 17:14 UTC

This package is auto-updated.

Last update: 2026-08-14 07:08:11 UTC


README

Test Latest Release PHP Version Buy Me A Coffee

Comprehensive PHPStan stubs for EDD Software Licensing — the commercial add-on for Easy Digital Downloads that turns digital products into licensable software.

Get full IDE autocomplete, IntelliSense, and type safety when developing license-aware WordPress plugins, themes, and update servers.

Features

  • Full IDE autocomplete for all EDD SL classes and functions
  • Type safety and static analysis with PHPStan
  • Catch errors before runtime when building licensing flows and update servers
  • Pulls EDD core stubs as a transitive dependency (arts/easy-digital-downloads-stubs) so EDD types referenced by SL resolve automatically

Requirements

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

Installation

composer require --dev arts/edd-software-licensing-stubs

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
        - vendor/arts/edd-software-licensing-stubs/edd-software-licensing-stubs.php

Regenerating Stubs

EDD Software Licensing is a commercial add-on distributed by Sandhills Development; it is not available on WordPress.org. To generate stubs you need a local copy of the plugin source.

  1. Copy .env.example to .env
  2. Set EDD_SL_PATH to your local EDD Software Licensing installation
  3. Run: composer generate
cp .env.example .env
# Edit .env with your path
composer generate

💖 Support

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

Buy Me A Coffee

Made with ❤️ by Artem Semkin