承接 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
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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