headjam/simple-recaptcha 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

headjam/simple-recaptcha

Composer 安装命令:

composer require headjam/simple-recaptcha

包简介

A Craft plugin that allows the addition of Google's reCAPTCHA v3 to any simple HTML form and verifies server-side.

README 文档

README

Allows the addition of Google's reCAPTCHA V3 to any simple HTML form and verifies server-side. Heavily influenced by Matt West's Craft reCAPTCHA for Google reCAPTCH V2.

Screenshot

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require headjam/simple-recaptcha
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Simple Recaptcha.

Configuring Simple Recaptcha

  1. Sign up for reCAPTCHA API key.
  2. Open the Craft admin and go to Settings → Plugins → Simple Recaptcha → Settings.
  3. Add your site key and secret key, then save. Alternatively, copy the contents of src/config.php to config/simple-recaptcha.php and update.
  4. Add the recaptcha template tag to your forms.

Using Simple Recaptcha

To use Simple Recaptcha, add the recaptcha.render tag with the url you are protecting. For example:

{{ craft.recaptcha.render('users/login') }}

Brought to you by Ben Norman

统计信息

  • 总下载量: 31
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固