PHP Package: php-stubs/wordpress-stubs

This PHP library provides stubs for WordPress functions and classes to aid in static analysis and IDE autocompletion.

Current Version: 6.8.3
Last Updated: 2025-09-30
PHP Requirement: >=7.4
Dependencies: None

Package Description

WordPress Stubs is a comprehensive collection of PHP stubs specifically tailored for WordPress development. These stubs assist in providing accurate code completion and static analysis for WordPress projects, enhancing development efficiency and code quality.

🔗 View on GitHub

Download Latest Version: 6.8.3

Download Download v6.8.3

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com

require_once 'libs/php-stubs/wordpress-stubs/6.8.3/loader.php';


echo '✅ Library loaded.';
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.