PHP code example of bodeezy / recaptcha

1. Go to this page and download the library: Download bodeezy/recaptcha library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

bodeezy / recaptcha example snippets


    "recaptcha" => 'The :attribute field is not correct.',

    $rules = array(
        // ...
        'recaptcha_response_field' => '

    // ...
    'options' => array(
		'theme' => 'white',
	),

echo Form::captcha(array('theme' => 'blackglass'));

    // ...
    'template' => 'customCaptcha',

echo Form::captcha(array('template' => 'customCaptcha'));

    'options' => array(
        'lang' => 'fr',
	),

    // ...
    'v2' => true,

    $rules = array(
        // ...
        'g-recaptcha-response' => '