Commit 7851b300325 for woocommerce
commit 7851b300325993c55a208aae89be088b8e3c62ad
Author: Brian Coords <bacoords@gmail.com>
Date: Tue Nov 3 15:35:00 2026 -0800
Add PHP stubs to developer tools (#70599)
diff --git a/docs/getting-started/developer-tools.md b/docs/getting-started/developer-tools.md
index e9a30af67a4..9c5fd0badd2 100644
--- a/docs/getting-started/developer-tools.md
+++ b/docs/getting-started/developer-tools.md
@@ -50,6 +50,22 @@ A dummy payment gateway for your WooCommerce development needs, with built-in su
QIT is a testing platform for WooCommerce plugins and themes with managed tests, E2E tests, and disposable local testing environments.
+### Static analysis
+
+PHP stubs describe WordPress, WooCommerce, and extension APIs so tools such as PHPStan can analyze integrations without loading their source code.
+
+#### [WordPress stubs](https://github.com/php-stubs/wordpress-stubs)
+
+Declarations for WordPress core functions, classes, and interfaces.
+
+#### [WooCommerce stubs](https://github.com/php-stubs/woocommerce-stubs)
+
+Declarations for WooCommerce Core functions, classes, and interfaces.
+
+#### [WooCommerce extension stubs](https://github.com/woocommerce/php-stubs)
+
+Versioned declarations for Woo extensions. Use them with WooCommerce stubs to check integrations against the minimum extension versions you support.
+
## Libraries
Use these resources to help take some of the heavy lifting off of fetching and transforming data \-- as well as creating UI elements.