承接 plugin/owc-gravityforms-digid 相关项目开发

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

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

plugin/owc-gravityforms-digid

Composer 安装命令:

composer require plugin/owc-gravityforms-digid

包简介

Add a DigiD login field to GravityForms

README 文档

README

Tests passing

This plugin provides a GravityForms field to retrieve a BSN (social security) number from DigiD.

Local development

DigiD is only able to connect with valid PKi certificates, for local development you can fake a session by setting the below environment variable.

DIGID_FAKE_SESSION='012345678'

Logging

Enable logging to monitor errors during communication with DigiD. Make sure to set WP_DEBUG to true in your wp-config.php to enable logging. Be cautious: the generated log file is stored in the publicly accessible upload directoy and can include sensitive information.

  • Logs are written daily to gfdigid-log{-date}.json in the uploads directory.
  • A rotating file handler keeps up to 7 log files by default, deleting the oldest as needed.
  • You can change the maximum number of log files using the filter described below.

Hooks

Change the maximum number of log files

Use the following filter to alter the rotating file handler's max files setting:

apply_filters('owc_gravityforms_digid_rotating_filer_handler_max_files', GF_DIGID_LOGGER_DEFAULT_MAX_FILES)

Intercept exceptions for custom handling

You can intercept exceptions caught by the plugin for additional processing or custom logging using this filter:

do_action('owc_gravityforms_digid_exception_intercept', $exception, $method)

The $exception parameter contains the caught exception object.

Intercept logging messages for custom handling

You can intercept informational logging messages generated by the plugin for additional processing or custom logging using this filter:

add_action('owc_gravityforms_digid_info_intercept', $message, $context)

The $message parameter contains logging message, the $context parameter is an array containing additional context info.

Creating a new release

  1. Update the version in plugin.php x2 (plugin version and metadata)
  2. Ensure that CHANGELOG.md and RELEASE_NOTES.md are updated with the latest changes
  3. Draft a new release

About us

banner

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 5
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: EUPL-1.2
  • 更新时间: 2025-10-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固