Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Commit e053cb9

Browse files
authored
Merge pull request #4 from biscolab/v2
v 2.0.0 doc
2 parents 15263ea + d8a852a commit e053cb9

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ChangeLog
2+
All notable changes to this project will be documented in this file.
3+
4+
## [2.0.0] - 2017-05-07
5+
### Added
6+
- htmlScriptTagJsApi() helper and $formId parameter
7+
- htmlFormButton() helper
8+
- htmlFormSnippet() helper
9+
- 'version' in recaptcha.php configuration file
10+
11+
More infomration @ [README](README.md)

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Simple Google ReCaptcha package for Laravel 5
55

66
You can install the package via composer:
77
```sh
8-
98
composer require biscolab/laravel-recaptcha:^2.0
109
```
1110
The service **provider** must be registered in `config/app.php`:
@@ -30,9 +29,7 @@ php artisan vendor:publish --provider="Biscolab\ReCaptcha\ReCaptchaServiceProvid
3029
## Configuration
3130

3231
### Add your API Keys
33-
3432
Open `config/recaptcha.php` configuration file and set `api_site_key`, `api_secret_key` and `version`:
35-
3633
```php
3734
return [
3835
'api_site_key' => 'YOUR_API_SITE_KEY',
@@ -43,7 +40,6 @@ return [
4340
For more invermation about Site Key and Secret Key please visit [Google RaCaptcha developer documentation](https://developers.google.com/recaptcha/docs/start)
4441
Get more info about ReCAPTCHA version at https://developers.google.com/recaptcha/docs/versions
4542

46-
4743
### Customize error message
4844
Before starting please add validation recaptcha message to `resources/lang/[LANG]/validation.php` file
4945
```php
@@ -60,7 +56,6 @@ return [
6056
Insert `htmlScriptTagJsApi($formId)` helper before closing `</head>` tag
6157
You can also use `ReCaptcha::htmlScriptTagJsApi($formId)`.
6258
`$formId` is required only if you are using **ReCAPTCHA INVISIBLE**
63-
6459
```blade
6560
<!DOCTYPE html>
6661
<html>
@@ -91,7 +86,6 @@ You can also use `ReCaptcha::htmlFormButton($buttonInnerHTML)` .
9186
<form>
9287
...
9388
{!! htmlFormButton(/* $buttonInnerHTML - Optional */) !!}
94-
9589
</form>
9690
```
9791

@@ -109,3 +103,6 @@ Print form errors
109103
```php
110104
dd($v->errors());
111105
```
106+
107+
## Changelog
108+
[Changelog](CHANGELOG.md)

0 commit comments

Comments
 (0)