将验证码集成到Symfony2 FOSUserBundle注册中的最简单方法? [英] Easiest way to integrate captcha's into Symfony2 FOSUserBundle registration?

查看:58
本文介绍了将验证码集成到Symfony2 FOSUserBundle注册中的最简单方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Symfony2和FOSUserBundle来管理注册和登录。我想添加一个验证码系统。是否有预先存在的捆绑软件或教程?

I'm using Symfony2 and the FOSUserBundle to manage registration and logins. I'd like to add a captcha system. Is there are pre-existing bundle or tutorial on this?

当然,我可以尝试使用Google验证码自行投放。在这种情况下,Google reCaptcha是一个不错的选择,还是我应该使用其他API?

Of course, I could try to roll my own using Google re-captcha. In that case, is Google reCaptcha a good choice, or should I use some other API?

推荐答案

确实有捆绑销售那,看看:

There are indeed a bundles for that, take a look at:

CaptchaBundle

EWZRecaptchaBundle

两者都(很可能)获得了您需要在README.md文件或扩展文档中添加的所有文档。

Both got (most likely) all the documentation you need added in the README.md file or extended documentation.

这篇关于将验证码集成到Symfony2 FOSUserBundle注册中的最简单方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆