Registry / cli / php-stubs-wp-cli-stubs

php-stubs-wp-cli-stubs

JSON →
library2.12.0phppackagistunverified

WP-CLI function and class declaration stubs for static analysis.

composer require php-stubs/wp-cli-stubs
INSTALL
IMPORT
SIG · PHP-STUBS-WP-CLI-S
P
php-stubs-wp-cli-stubs
cliphpv2.12.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Command
use WP_CLI\Commands\Command;

Extend WP_CLI\Commands\Command to create a custom WP-CLI command.

use WP_CLI\Commands\Command; class MyCommand extends Command { public function __invoke($args, $assoc_args) { WP_CLI::success('Hello World'); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.12.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Amazon
1
Resources
php-stubs-wp-cli-stubs — pip install php-stubs-wp-cli-stubs · libregistry