定制 webfox/silverstripe-formprotection-honeypot 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

webfox/silverstripe-formprotection-honeypot

Composer 安装命令:

composer require webfox/silverstripe-formprotection-honeypot

包简介

Honeypot spam protection for SilverStripe forms.

README 文档

README

Quickly add Honeypot spam protection for SilverStripe forms.

Composer

Run the following to add this module as a requirement and install it via composer.

#!bash

composer require "webfox/silverstripe-formprotection-honeypot:dev-master"

Usage

Include

#!php

use Webfox\SilverStripe\FormProtection\Honeypot\FormField\HoneypotField;

where the form is being created then attach the honey pot field to the form. For example:

#!php

$fields = new FieldList(
            TextField::create('Name'),
            EmailField::create('Email'),
            HoneypotField::create('Protection')
);

or

#!php
 $fields = new FieldList(
            new TextField('Name'),
            new EmailField('Email'),
       	    new HoneypotField('Protection')
);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固