Download the PHP package php-stubs/wp-cli-stubs without Composer
On this page you can find all versions of the php package php-stubs/wp-cli-stubs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download php-stubs/wp-cli-stubs
More information about php-stubs/wp-cli-stubs
Files in php-stubs/wp-cli-stubs
Download php-stubs/wp-cli-stubs
More information about php-stubs/wp-cli-stubs
Files in php-stubs/wp-cli-stubs
Vendor php-stubs
Package wp-cli-stubs
Short Description WP-CLI function and class declaration stubs for static analysis.
License MIT
Homepage https://github.com/php-stubs/wp-cli-stubs
Package wp-cli-stubs
Short Description WP-CLI function and class declaration stubs for static analysis.
License MIT
Homepage https://github.com/php-stubs/wp-cli-stubs
Please rate this library. Is it a good library?
Informations about the package wp-cli-stubs
WP-CLI Stubs
This package provides stub declarations for WP-CLI functions, classes and interfaces. These stubs can help plugin and theme developers leverage static analysis tools like PHPStan, which are unable to parse WP-CLI as it is not clean OOP code.
Stubs are generated directly from the source using giacocorsiglia/stubs-generator.
Requirements
- PHP >=7.1
Installation
Require this package as a development dependency with Composer.
Alternatively you may download wp-cli-stubs.php
directly.
Usage in PHPStan
Include all stubs in PHPStan configuration file.
All versions of wp-cli-stubs with dependencies
PHP Build Version
Package Version
Requires
php-stubs/wordpress-stubs Version
^4.7 || ^5.0 || ^6.0
The package php-stubs/wp-cli-stubs contains the following files
Loading the files please wait ....