- Add Recaptcha to Contact Form and Registration Page to prevent spam
-
Require plugin with composer:
composer require stefandoorn/sylius-recaptcha-plugin:^1.0@dev
-
Follow installation instructions from Recaptcha bundle: https://github.com/excelwebzone/EWZRecaptchaBundle
-
Add plugin class to your
AppKernel
.$bundles = [ new \StefanDoorn\SyliusRecaptchaPlugin\SyliusRecaptchaPlugin(), ];
or to your
bundles.php
:return [ // ... StefanDoorn\SyliusRecaptchaPlugin\SyliusRecaptchaPlugin::class => ['all' => true], ];