PHP code example of garbinmarcelo / invisible-recaptcha

1. Go to this page and download the library: Download garbinmarcelo/invisible-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/ */

    

garbinmarcelo / invisible-recaptcha example snippets


{!! app('captcha')->render() !!}

// or you can use this in blade
@captcha

{!! app('captcha')->render('en') !!}

// or you can use this in blade
@captcha('en')

{!! app('captcha')->renderPolyfill() !!}
// Or with blade directive:
@captchaPolyfill

{!! app('captcha')->renderCaptchaHTML() !!}
// Or with blade directive:
@captchaHTML

// The argument is optional.
{!! app('captcha')->renderFooterJS('en') !!}

// Or with blade directive:
@captchaScripts
// blade directive, with language support:
@captchaScripts('en')


$validate = Validator::make(Input::all(), [
    'g-recaptcha-response' => '