sknny/yii2-recaptcha-widget
Composer 安装命令:
composer require sknny/yii2-recaptcha-widget
包简介
A Yii2 widget for integrating Google reCAPTCHA.
关键字:
README 文档
README
A simple widget for integrating Google reCAPTCHA into Yii2 projects.
Installation
composer require sknny/yii2-recaptcha-widget
-
Add the component to your configuration:
'components' => [ 'recaptcha' => [ 'class' => 'app\\components\\Recaptcha', 'siteKey' => 'siteKey', 'secretKey' => 'secretKey', ], ],
-
Use the widget in your view:
<?= app\widgets\RecaptchaWidget::widget(); ?>
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-08