Skip to content
@php-stubs

PHP Stubs Library

Aid static analysis and make IDE autocompletion possible

Important

Hello everyone! This is Viktor who runs the php-stubs organization. I am planning to stop contributing to the WordPress ecosystem because it is extremely difficult and I do not earn (min) €100/month.

Please support my work to avoid abandoning these packages.

Sponsor

Thank you!

PHP stubs organization

PHP Stubs helps you in static analysis and IDE autocompletion.

Pinned Loading

  1. woocommerce-subscriptions-stubs woocommerce-subscriptions-stubs Public

    WooCommerce Subscriptions function and class declaration stubs for static analysis

    PHP 4

  2. wordpress-stubs wordpress-stubs Public

    Up-to-date WordPress function and class declaration stubs for static analysis by PHPStan

    PHP 206 25

  3. acf-pro-stubs acf-pro-stubs Public

    ACF PRO stubs for static analysis

    PHP 73 13

  4. woocommerce-stubs woocommerce-stubs Public

    WooCommerce function and class declaration stubs for static analysis

    PHP 96 11

  5. gravity-forms-stubs gravity-forms-stubs Public

    Up-to-date Gravity Forms function and class declaration stubs for static analysis by PHPStan

    PHP 5 1

Repositories

Showing 10 of 14 repositories
  • woocommerce-stubs Public

    WooCommerce function and class declaration stubs for static analysis

    php-stubs/woocommerce-stubs's past year of commit activity
    PHP 96 MIT 11 2 0 Updated Sep 9, 2026
  • wordpress-stubs Public

    Up-to-date WordPress function and class declaration stubs for static analysis by PHPStan

    php-stubs/wordpress-stubs's past year of commit activity
    PHP 206 MIT 25 8 5 Updated Sep 9, 2026
  • gravity-forms-stubs Public

    Up-to-date Gravity Forms function and class declaration stubs for static analysis by PHPStan

    php-stubs/gravity-forms-stubs's past year of commit activity
    PHP 5 MIT 1 0 1 Updated Aug 31, 2026
  • wordpress-tests-stubs Public

    WordPress core test suite function and class declaration stubs for static analysis by PHPStan

    php-stubs/wordpress-tests-stubs's past year of commit activity
    PHP 5 MIT 0 0 0 Updated Aug 20, 2026
  • woocommerce-subscriptions-stubs Public

    WooCommerce Subscriptions function and class declaration stubs for static analysis

    php-stubs/woocommerce-subscriptions-stubs's past year of commit activity
    PHP 4 0 0 0 Updated Aug 6, 2026
  • generator Public

    Generate stubs from any PHP code for IDE completion and static analysis.

    php-stubs/generator's past year of commit activity
    PHP 82 MIT 24 3 (1 issue needs help) 1 Updated Aug 2, 2026
  • acf-pro-stubs Public

    ACF PRO stubs for static analysis

    php-stubs/acf-pro-stubs's past year of commit activity
    PHP 73 MIT 13 3 (2 issues need help) 0 Updated Jun 2, 2026
  • wp-cli-stubs Public

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

    php-stubs/wp-cli-stubs's past year of commit activity
    PHP 30 MIT 4 3 0 Updated May 26, 2026
  • facetwp-stubs Public

    FacetWP function and class declaration stubs for static analysis

    php-stubs/facetwp-stubs's past year of commit activity
    PHP 1 MIT 0 1 1 Updated Aug 28, 2025
  • genesis-stubs Public

    Genesis Framework function stubs for static analysis.

    php-stubs/genesis-stubs's past year of commit activity
    PHP 3 MIT 0 0 0 Updated Oct 18, 2024

Sponsors

  • @humanmade
  • @TorbenLundsgaard
  • Private Sponsor

Top languages

PHP