shinepress/wordpress-stubs

WordPress function and class declaration stubs for static analysis split into multiple files for increased performance.

Maintainers

Package info

github.com/shinepress/wordpress-stubs

pkg:composer/shinepress/wordpress-stubs

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

6.9.1 2026-02-03 19:29 UTC

This package is auto-updated.

Last update: 2026-03-04 01:19:54 UTC


README

Latest Version Downloads

Description

WordPress function and class declaration stubs for static analysis split into multiple files for increased performance. Automatically generated from the wordpress-stubs.php stubfile in php-stubs/wordpress-stubs.

Installation

The recommendend installation method is with composer:

$ composer require shinepress/wordpress-stubs

Note: only tagged versions are functional, dev-main will not provide any stubfiles.

Usage

Just register the autoloader as a bootstrap file in your phpstan config:

parameters:
    bootstrapFiles:
        - ./vendor/shinepress/wordpress-stubs/autoload.php

Acknowledgements

The project is made possible by: