Download the PHP package robole/sulu-form-captcha-bundle without Composer
On this page you can find all versions of the php package robole/sulu-form-captcha-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download robole/sulu-form-captcha-bundle
More information about robole/sulu-form-captcha-bundle
Files in robole/sulu-form-captcha-bundle
Package sulu-form-captcha-bundle
Short Description Extension for SuluFormBundle that adds third-party captcha providers
License MIT
Homepage https://github.com/robole-dev/sulu-form-captcha-bundle
Informations about the package sulu-form-captcha-bundle
SuluFormCaptchaBundle
Extension for SuluFormBundle that adds third-party captcha providers.
Installation
This bundle requires PHP 8.2 or later.
- Open a command console, enter your project directory and run:
If not automagically done, add the bundle to your config/bundles.php file:
- Install and configure one or mutiple captcha providers from below. Once installed, each provider can be selected in the Sulu form editor.
Use with Cloudflare Turnstile
Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:
- Visit Cloudfare, create a site key and secret key, save the keys to
.envand link via service configuration inconfig/packages/pixel_open_cloudlflare_turnstile.yaml:
For more information, refer to the bundle repository.
Use with Gregwar Captcha
- Install Gregwar CaptchaBundle:
Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:
- Customize the global bundle configuration in
config/packages/gregwar_captcha.yaml:
For more information on configuration and form theming, refer to the bundle repository.
Use with Friendly Captcha
Attention: This bundle currently only supports Friendly Captcha v1!
- Install CORS Friendly Captcha Bundle:
Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:
-
Visit Friendly Captcha, create a site key and secret key, save the keys to
.envand link via service configuration inconfig/packages/cors_friendly_captcha.yaml: - Import the widget via npm in your application or load from CDN, e.g. in
base.html.twig:
For more information, refer to the bundle repository.
Use with ALTCHA
- Install AltchaBundle:
Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:
- Configure AltchaBundle as described in the README.md.
Theming
This bundle provides a minimal theme.html.twig which extends @SuluForm/themes/basic.html.twig. Use it like this:
To customize the default blocks (or to customize the default blocks provided by SuluFormBundle), extend @SuluFormCaptcha/theme.html.twig similar as described in SuluFormBundle theming.md.
Scripts
-
To check the coding standards, run:
composer php-cs
- To apply coding standards, run:
composer php-cs-fix
All versions of sulu-form-captcha-bundle with dependencies
jackalope/jackalope-doctrine-dbal Version *
sulu/form-bundle Version ^2.5 || ^3.0
symfony/config Version ^6.0 | ^7.0
symfony/dependency-injection Version ^6.0 | ^7.0
symfony/framework-bundle Version ^6.0 | ^7.0
symfony/translation Version ^6.0 || ^7.0
twig/twig Version ^1.41 || ^2.6 || ^3.0