Download the PHP package mralaminahamed/secure-custom-fields-stubs without Composer
On this page you can find all versions of the php package mralaminahamed/secure-custom-fields-stubs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mralaminahamed/secure-custom-fields-stubs
More information about mralaminahamed/secure-custom-fields-stubs
Files in mralaminahamed/secure-custom-fields-stubs
Package secure-custom-fields-stubs
Short Description Secure Custom Fields (ACF-compatible) function and class declaration stubs for static analysis.
License MIT
Homepage https://github.com/mralaminahamed/phpstan-secure-custom-fields-stubs
Informations about the package secure-custom-fields-stubs
Secure Custom Fields stubs
PHPStan / static-analysis stubs for the Secure Custom Fields WordPress plugin — the WordPress.org-maintained, ACF-compatible custom-fields plugin.
Use these when your plugin/theme calls Secure Custom Fields (or ACF-compatible) functions like get_field(), the_field(), acf_*(), have_rows(), etc., so PHPStan knows their signatures instead of reporting "undefined function".
Install
Pin to a plugin version if you want stubs matching a specific release:
Use with PHPStan
Reference the stub files in your phpstan.neon:
Versioning
Releases are tagged v<plugin-version> (e.g. v6.8.9) and track the upstream Secure Custom Fields releases. Each tag's stubs are generated from that exact plugin version.
Regenerate locally
License
MIT. Stub declarations are generated from the GPL-licensed Secure Custom Fields plugin source using php-stubs/generator.