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 2

  2. wordpress-stubs wordpress-stubs Public

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

    PHP 178 22

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

    ACF PRO stubs for static analysis

    PHP 67 12

  4. woocommerce-stubs woocommerce-stubs Public

    WooCommerce function and class declaration stubs for static analysis

    PHP 87 9

  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
  • generator Public

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

    php-stubs/generator’s past year of commit activity
    PHP 73 MIT 21 4 (1 issue needs help) 1 Updated Jan 3, 2026
  • woocommerce-stubs Public

    WooCommerce function and class declaration stubs for static analysis

    php-stubs/woocommerce-stubs’s past year of commit activity
    PHP 87 MIT 9 1 0 Updated Dec 14, 2025
  • 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 178 MIT 22 9 (1 issue needs help) 2 Updated Dec 8, 2025
  • 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 Dec 7, 2025
  • 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 2 0 0 0 Updated Dec 1, 2025
  • acf-pro-stubs Public

    ACF PRO stubs for static analysis

    php-stubs/acf-pro-stubs’s past year of commit activity
    PHP 67 MIT 12 3 (2 issues need help) 0 Updated Sep 5, 2025
  • 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
  • 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 28 MIT 3 3 0 Updated Jun 10, 2025
  • 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 Feb 24, 2025
  • genesis-stubs Public

    Genesis Framework function stubs for static analysis.

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

Sponsors

  • @humanmade
  • @TorbenLundsgaard
  • @triple0t

Top languages

Loading…