elma/friendly-captcha-bundle
最新稳定版本:v2.0.0
Composer 安装命令:
composer require elma/friendly-captcha-bundle
包简介
ELMA - Friendly Captcha Bundle, fork of the cors/friendly-captcha-bundle
关键字:
README 文档
README
This bundle provides easy friendlycaptcha.com form field for Symfony.
This is a fork of the [cors][https://github.com/cors-gmbh/friendly-captcha-bundle] bundle, that does not seems to be maintened, [see this PR for details][cors-gmbh#3]
The main branch works with the v2 API, see https://developer.friendlycaptcha.com/docs/v2/guides/upgrading-from-v1/backend-integration for migration instruction or use the main_v1 / v1.x version of the bundle.
Installation
Step 1: Use composer and enable Bundle
To install CORSFriendlyCaptchaBundle with Composer just type in your terminal:
php composer.phar require elma/friendly-captcha-bundle
Now, Composer will automatically download all required files, and install them
for you. All that is left to do is to update your bundles.php file, and
register the new bundle:
<?php // in config/bundles.php return [ CORS\Bundle\FriendlyCaptchaBundle\CORSFriendlyCaptchaBundle::class => ['all' => true], //... ];
Step2: Configure the bundle's
cors_friendly_captcha: sitekey: here_is_your_sitekey secret: here_is_your_api_key use_eu_endpoints: true|false
Optionally, change endpoints
cors_friendly_captcha: puzzle: endpoint: https://api.friendlycaptcha.com/api/v1/puzzle eu_endpoint: https://eu-api.friendlycaptcha.eu/api/v1/puzzle validation: endpoint: https://global.frcapi.com/api/v2/captcha/siteverify eu_endpoint: https://eu.frcapi.com/api/v2/captcha/siteverify
统计信息
- 总下载量: 19.73k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-29