PHPackages                             webshr/acfe-pro-stubs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. webshr/acfe-pro-stubs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

webshr/acfe-pro-stubs
=====================

ACF Extended Pro stubs for static analysis (PHPStan) and IDE autocompletion.

0.9.2.4(3w ago)01MITPHPPHP ^8.0

Since May 14Pushed 3w agoCompare

[ Source](https://github.com/webshr/acfe-pro-stubs)[ Packagist](https://packagist.org/packages/webshr/acfe-pro-stubs)[ Docs](https://github.com/webshr/acfe-pro-stubs)[ RSS](/packages/webshr-acfe-pro-stubs/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

ACF Extended Pro Stubs
======================

[](#acf-extended-pro-stubs)

Stub declarations for [ACF Extended Pro](https://www.acf-extended.com/) core functions, classes, interfaces and traits. These stubs help plugin and theme developers leverage static analysis tools like [PHPStan](https://github.com/phpstan/phpstan) and improve IDE autocompletion.

The stubs are generated from the `acf-extended-pro` plugin folder using [php-stubs/generator](https://github.com/php-stubs/generator). ACF Extended Pro is a strict superset of the free version, so this single stub file covers both.

> This package is **not affiliated with or endorsed by** ACF Extended. It contains only function and class signatures plus docblocks — no implementation. ACF Extended Pro is a commercial product; you must own a valid license to use it.

Requirements
------------

[](#requirements)

- PHP ^8.0

Installation
------------

[](#installation)

Require this package as a development dependency with [Composer](https://getcomposer.org):

```
composer require --dev webshr/acfe-pro-stubs
```

Alternatively download `acfe-pro-stubs.php` directly.

Versioning
----------

[](#versioning)

Tags mirror the upstream ACF Extended Pro version they were generated from (e.g. tag `0.9.2.4` ↔ ACFE Pro 0.9.2.4). Pin to the version that matches your installed ACFE Pro release.

PHPStan
-------

[](#phpstan)

Reference the stub file from `phpstan.neon`:

```
parameters:
  scanFiles:
    - vendor/webshr/acfe-pro-stubs/acfe-pro-stubs.php
```

If you also use WordPress, combine with [`szepeviktor/phpstan-wordpress`](https://github.com/szepeviktor/phpstan-wordpress)which already pulls in `php-stubs/wordpress-stubs`. You will likely also want stubs for ACF itself (the dependency ACFE builds on).

Regenerating the stubs
----------------------

[](#regenerating-the-stubs)

The `acf-extended-pro/` source plugin is not redistributed in this repository (it is commercial code). To regenerate after an ACFE Pro release:

1. Place an extracted ACF Extended Pro plugin into `acf-extended-pro/` at the repo root.
2. Run:

    ```
    composer install
    composer generate
    ```
3. Update `CHANGELOG.md` and tag the new version (matching the ACFE Pro version).

License
-------

[](#license)

[MIT](LICENSE) for the stub generation tooling and the regenerated stub file. The original ACF Extended Pro source remains the property of its authors.

###  Health Score

33

—

LowBetter than 73% of packages

Maintenance94

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

26d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11009257?v=4)[enriquo](/maintainers/enriquo)[@enriquo](https://github.com/enriquo)

---

Top Contributors

[![enriquo](https://avatars.githubusercontent.com/u/11009257?v=4)](https://github.com/enriquo "enriquo (1 commits)")

---

Tags

PHPStanwordpressstatic analysisstubsacfacf extended

### Embed Badge

![Health badge](/badges/webshr-acfe-pro-stubs/health.svg)

```
[![Health](https://phpackages.com/badges/webshr-acfe-pro-stubs/health.svg)](https://phpackages.com/packages/webshr-acfe-pro-stubs)
```

###  Alternatives

[php-stubs/woocommerce-stubs

WooCommerce function and class declaration stubs for static analysis.

953.3M90](/packages/php-stubs-woocommerce-stubs)[php-stubs/wordpress-stubs

WordPress function and class declaration stubs for static analysis.

19915.0M370](/packages/php-stubs-wordpress-stubs)[php-stubs/wp-cli-stubs

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

302.7M117](/packages/php-stubs-wp-cli-stubs)[php-stubs/acf-pro-stubs

Advanced Custom Fields PRO stubs for static analysis.

74767.9k76](/packages/php-stubs-acf-pro-stubs)[php-stubs/wordpress-globals

Global variables and global constants from WordPress core.

13847.8k20](/packages/php-stubs-wordpress-globals)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
