concept-image / wp-php-stubs
Extra PHP stubs for PHPStan
Package info
gitlab.com/concept-image-public/wp-php-stubs
Type:package
pkg:composer/concept-image/wp-php-stubs
0.0.1
2025-08-29 14:58 UTC
Requires
- php-stubs/wordpress-stubs: ^4.7 || ^5.0 || ^6.0
Requires (Dev)
- php: ~7.1 || ^8.0
- php-stubs/generator: ^0.8
- phpdocumentor/reflection-docblock: ^5.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
This repo can be used to scaffold an Acorn package. See the Acorn Package Development docs for further information.
Installation
You can install this package with Composer:
composer require concept-image/wp-php-stubs --dev
Usage
Add to phpstan.neon file
bootstrapFiles:
- vendor/concept-image/wp-php-stubs/stubs/searchwp.php
- vendor/concept-image/wp-php-stubs/stubs/acorn.php