stefandoorn / sylius-recaptcha-plugin
Sylius 的 Recaptcha 插件。
dev-master / 1.0.x-dev
2022-08-05 08:36 UTC
Requires
- php: ^7.2 || ^8.0
- excelwebzone/recaptcha-bundle: ^1.5
- sylius/sylius: ^1.2
Requires (Dev)
- behat/behat: ^3.4
- behat/mink: ^1.7@dev
- behat/mink-browserkit-driver: ^1.3
- behat/mink-extension: ^2.2
- behat/mink-selenium2-driver: ^1.3
- friends-of-behat/context-service-extension: ^1.2
- friends-of-behat/cross-container-extension: ^1.1
- friends-of-behat/page-object-extension: ^0.2.1
- friends-of-behat/service-container-extension: ^1.0
- friends-of-behat/symfony-extension: ^1.2.1
- friends-of-behat/variadic-extension: ^1.1
- lakion/mink-debug-extension: ^1.2.3
- phpspec/phpspec: ^5.0
- phpstan/phpstan-doctrine: ^0.10
- phpstan/phpstan-shim: ^0.10
- phpstan/phpstan-symfony: ^0.10
- phpstan/phpstan-webmozart-assert: ^0.10
- phpunit/phpunit: ^6.5
- sensiolabs/security-checker: ^5.0
- sylius-labs/coding-standard: ^2.0
- symfony/browser-kit: ^3.4|^4.1
- symfony/debug-bundle: ^3.4|^4.1
- symfony/dotenv: ^3.4|^4.1
- symfony/intl: ^3.4|^4.1
- symfony/web-profiler-bundle: ^3.4|^4.1
- symfony/web-server-bundle: ^3.4|^4.1
Conflicts
- symfony/browser-kit: 4.1.8
- symfony/dependency-injection: 4.1.8
- symfony/dom-crawler: 4.1.8
- symfony/routing: 4.1.8
- symfony/symfony: 4.1.8
This package is auto-updated.
Last update: 2024-09-05 12:54:18 UTC
README
特性
- 将 Recaptcha 添加到联系表单和注册页面以防止垃圾邮件
安装
-
使用 composer 安装插件
composer require stefandoorn/sylius-recaptcha-plugin:^1.0@dev
-
遵循 Recaptcha 包的安装说明:https://github.com/excelwebzone/EWZRecaptchaBundle
-
将插件类添加到您的
AppKernel
。$bundles = [ new \StefanDoorn\SyliusRecaptchaPlugin\SyliusRecaptchaPlugin(), ];
或者添加到您的
bundles.php
return [ // ... StefanDoorn\SyliusRecaptchaPlugin\SyliusRecaptchaPlugin::class => ['all' => true], ];