Skip to content

Commit

Permalink
updates to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
inimist committed Oct 21, 2019
1 parent eaf97c2 commit 4ff11ab
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,20 @@

**Bot Detect using Image captcha, Math captcha and Google-recaptcha for CakePHP 3**

## Why to use this plugin?

* To display Google Recaptcha / Image Captcha / Math Challenge for web forms

This CakePHP Captcha plugin requires CakePHP 3.6+.

## Quick Features

* No Custom Code required
* Quick install. Just add three lines of code in your Controller, Model and View 1 line each.
* Works in Model Validation
* Easy to switch between Google Recaptcha, Image Captcha and Math Challenge
* Multiple Captchas on single page
* No Custom Code required.
* Quick install. Just add 3 lines, on each in Controller, Model and View.
* Works as Model Validation.
* Multiple Captchas on single page.
* Multiple Demo available.
* Demo available as CakePHP Plugin
* Demo available as CakePHP Plugin.

## Installation

Expand Down Expand Up @@ -48,7 +53,7 @@ and
```echo $this->Captcha->create('<fieldname>', $options);```
If you use Google Recaptcha add "sitekey" option with its value here. See examples below.

5. In your controller in which your form data is processed, place:
5. In your controller in which your form data is processed, place (required with image and math catpcha):

```$this->Users->setCaptcha('<fieldname>', $this->Captcha->getCode('<fieldname>'));```

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"require": {
"php": "^5.6|^7.0",
"cakephp/cakephp": "^3.5.0"
"cakephp/cakephp": "^3.6.0"
},
"require-dev": {
},
Expand Down

0 comments on commit 4ff11ab

Please sign in to comment.