<commit_before># Laravel ReCAPTCHA - v2.*
Simple Google ReCaptcha package for Laravel 5

## Installation

You can install the package via composer:
```sh
composer require biscolab/laravel-recaptcha:^2.0
```
The service **provider** must be registered in `config/app.php`:
```php
'providers' => [
    ...
    Biscolab\ReCaptcha\ReCaptchaServiceProvider::class,
];
```
You can use the facade for shorter code. Add "ReCaptcha" to your aliases:
```php
'aliases' => [
    ...
    'ReCaptcha' => Biscolab\ReCaptcha\Facades\ReCaptcha::class,
];
```
Create `config/recaptcha.php` configuration file using:
```su
php artisan vendor:publish --provider="Biscolab\ReCaptcha\ReCaptchaServiceProvider"
```

## Configuration

### Add your API Keys
Open `config/recaptcha.php` configuration file and set `api_site_key`, `api_secret_key` and `version`:
```php
return [
    'api_site_key'      => 'YOUR_API_SITE_KEY',<commit_msg>Version changed on README file<commit_after># Laravel ReCAPTCHA - v2.*
Simple Google ReCaptcha package for Laravel 5

## Installation

You can install the package via composer:
```sh
composer require biscolab/laravel-recaptcha:^2.1
```
The service **provider** must be registered in `config/app.php`:
```php
'providers' => [
    ...
    Biscolab\ReCaptcha\ReCaptchaServiceProvider::class,
];
```
You can use the facade for shorter code. Add "ReCaptcha" to your aliases:
```php
'aliases' => [
    ...
    'ReCaptcha' => Biscolab\ReCaptcha\Facades\ReCaptcha::class,
];
```
Create `config/recaptcha.php` configuration file using:
```su
php artisan vendor:publish --provider="Biscolab\ReCaptcha\ReCaptchaServiceProvider"
```

## Configuration

### Add your API Keys
Open `config/recaptcha.php` configuration file and set `api_site_key`, `api_secret_key` and `version`:
```php
return [
    'api_site_key'      => 'YOUR_API_SITE_KEY',
{'fraction_non_alphanumeric': 0.13920609026644915, 'fraction_numerical': 0.004350190320826536, 'mean_word_length': 4.878594249201278, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '693137', 'n_tokens_mistral': 640, 'n_tokens_neox': 611, 'n_words': 163}