srggroup/zf2nocaptcha
最新稳定版本:v0.5-beta.1
Composer 安装命令:
composer require srggroup/zf2nocaptcha
包简介
Google NoCaptcha for Laminas
关键字:
README 文档
README
This Laminas Captcha adapter uses Google's reCAPTCHA php library (see here: https://github.com/google/recaptcha).
##USAGE
- Pull it from composer
composer require srggroup/zf2nocaptcha
- Define the helper in your Laminas module config:
'view_helpers'=>array(
'invokables'=>array(
'recaptcha.helper'=>'NoCaptcha\NoCaptchaHelper'
)
)
- Integrate it into the form like the standard laminas recaptcha element
$adapter = new \NoCaptcha\NoCaptchaAdapter($siteKey, $secreteKey);
I've used some code from this repository: https://github.com/szmnmichalowski/ZF2-NoCaptcha
统计信息
- 总下载量: 230
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-09-17