承接 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