承接 mralaminahamed/secure-custom-fields-stubs 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mralaminahamed/secure-custom-fields-stubs

Composer 安装命令:

composer require --dev mralaminahamed/secure-custom-fields-stubs

包简介

Secure Custom Fields (ACF-compatible) function and class declaration stubs for static analysis.

README 文档

README

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

composer require --dev mralaminahamed/secure-custom-fields-stubs

Pin to a plugin version if you want stubs matching a specific release:

composer require --dev mralaminahamed/secure-custom-fields-stubs:6.8.9

Use with PHPStan

Reference the stub files in your phpstan.neon:

parameters:
    scanFiles:
        - vendor/mralaminahamed/secure-custom-fields-stubs/secure-custom-fields-stubs.stub
        - vendor/mralaminahamed/secure-custom-fields-stubs/secure-custom-fields-constants-stubs.stub

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

composer install
bash bin/release-latest-versions.sh 5   # latest 5 stable versions
# or, against a source/ you placed manually:
bash bin/generate.sh

License

MIT. Stub declarations are generated from the GPL-licensed Secure Custom Fields plugin source using php-stubs/generator.

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Shell

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固