elma / friendly-captcha-bundle
ELMA - Friendly Captcha Bundle, fork of the cors/friendly-captcha-bundle
Installs: 12 614
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 9
Open Issues: 2
Type:symfony-bundle
Requires
- php: >=7.3
- symfony/form: ^3.0 || ^4.0 || ^5.0 || ^6.0
- symfony/framework-bundle: ^3.0 || ^4.0 || ^5.0 || ^6.0
- symfony/http-client: ^3.0 || ^4.0 || ^5.0 || ^6.0
- symfony/validator: ^3.0 || ^4.0 || ^5.0 || ^6.0
- symfony/yaml: ^3.0 || ^4.0 || ^5.0 || ^6.0
- twig/twig: ^2.9 || ^3.0
Requires (Dev)
- phpunit/phpunit: ^9.5
Replaces
This package is auto-updated.
Last update: 2025-03-08 09:27:09 UTC
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]
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 AppKernel.php
file, and
register the new bundle:
<?php // in AppKernel::registerBundles() $bundles = array( // ... new CORS\Bundle\FriendlyCaptchaBundle\CORSFriendlyCaptchaBundle(), // ... );
Step2: Configure the bundle's
cors_friendly_captcha: sitekey: here_is_your_sitekey secret: here_is_your_secret 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://api.friendlycaptcha.com/api/v1/siteverify eu_endpoint: https://eu-api.friendlycaptcha.eu/api/v1/siteverify