Download the PHP package arts/elementor-stubs without Composer
On this page you can find all versions of the php package arts/elementor-stubs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download arts/elementor-stubs
More information about arts/elementor-stubs
Files in arts/elementor-stubs
Package elementor-stubs
Short Description Comprehensive PHPStan stubs for Elementor and Elementor Pro WordPress page builder - auto-generated, self-contained, plug & play
License GPL-3.0-or-later
Informations about the package elementor-stubs
Elementor Stubs
Comprehensive PHPStan stubs for Elementor and Elementor Pro WordPress page builder.
Get full IDE autocomplete, IntelliSense, and type safety when developing Elementor widgets, extensions, and custom implementations.
Features
- Full IDE autocomplete for all Elementor and Elementor Pro classes
- Type safety and static analysis with PHPStan
- Catch errors before runtime when developing widgets and extensions
- Self-contained - includes all necessary Elementor constants
- Auto-updated with new Elementor releases
Requirements
- PHP 8.0 or higher
- PHPStan for static analysis
- Automatically includes WordPress and WooCommerce stubs as dependencies
Installation
Usage with PHPStan
Add to your phpstan.neon:
The stubs include both Elementor Free and Elementor Pro type definitions.
Note: Stubs are versioned to match Elementor releases. Check releases for your specific Elementor version.
Regenerating Stubs
For contributors or to generate stubs from a specific Elementor version:
- Copy
.env.exampleto.env - Set
ELEMENTOR_PATHto your Elementor installation - Optionally set
ELEMENTOR_PRO_PATHfor Pro stubs - Run:
composer generate
💖 Support
If you find this plugin useful, consider buying me a coffee:
Made with ❤️ by Artem Semkin
All versions of elementor-stubs with dependencies
php-stubs/woocommerce-stubs Version ^10.5 || ^11.0
php-stubs/wordpress-stubs Version ^6.9
php-stubs/wp-cli-stubs Version ^2.12
