定制 mktcode/caitcha-bundle 二次开发

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

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

mktcode/caitcha-bundle

最新稳定版本:1.1

Composer 安装命令:

composer require mktcode/caitcha-bundle

包简介

This bundle adds a form type for invisible bot protection with honeypot and time diff methods.

README 文档

README

This bundle adds a form type for invisible bot protection with honeypot and time diff methods.

caitcha: completely automated invisible test to tell computers and humans apart

Installation

Install with composer:

require: {
    "mktcode/caitcha-bundle": "1.1"
}

Register the bundle in app/AppKernel.php:

$bundles = array(
    // ...
    new MktCode\CaitchaBundle\MktCodeCaitchaBundle(),
);

Configuration

You have two possible options to configure this Bundle. One is the honeypot field name, the other one is the minimum amount of time it has to take to fill in a caitcha-protected form.

# app/config/config.yml
mktcode_caitcha:
    honeypot_name: "my_honeypot_field" # defaults to "honey"
    minimum_time: 10 # defaults to 10

Usage

In your FormType just add a caitcha field:

$builder->add('caitcha', 'caitcha');

Contribution

This is my first shared symfony bundle, so feel free to address any deployment/dependency issues whatsoever. Also if there are other methods (I know there are...) that definitely must be implemented let me know.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL
  • 更新时间: 2014-12-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固