PHP Classes

File: config/recaptcha.php

Recommend this page to a friend!
  Classes of Ahmed Khan   PHP Realtime Chat with Laravel, Vue.js and Pusher   config/recaptcha.php   Download  
File: config/recaptcha.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Realtime Chat with Laravel, Vue.js and Pusher
Realtime chat application with an API and channels
Author: By
Last change:
Date: 2 years ago
Size: 1,827 bytes
 

Contents

Class file image Download
<?php

return [

   
/*
    |--------------------------------------------------------------------------
    | API Keys
    |--------------------------------------------------------------------------
    |
    | Set the public and private API keys as provided by reCAPTCHA.
    |
    | In version 2 of reCAPTCHA, public_key is the Site key,
    | and private_key is the Secret key.
    |
    */
   
'public_key' => env('RECAPTCHA_PUBLIC_KEY', '6Ldbgh0UAAAAAI_4HP967e_ZyQ8awF4dFyfpVA21'),
   
'private_key' => env('RECAPTCHA_PRIVATE_KEY', '6Ldbgh0UAAAAADF6fWfePCmjXpjpiHbX59wY7fdR'),

   
/*
    |--------------------------------------------------------------------------
    | Template
    |--------------------------------------------------------------------------
    |
    | Set a template to use if you don't want to use the standard one.
    |
    */
   
'template' => '',

   
/*
    |--------------------------------------------------------------------------
    | Driver
    |--------------------------------------------------------------------------
    |
    | Determine how to call out to get response; values are 'curl' or 'native'.
    | Only applies to v2.
    |
    */
   
'driver' => 'curl',

   
/*
    |--------------------------------------------------------------------------
    | Options
    |--------------------------------------------------------------------------
    |
    | Various options for the driver
    |
    */
   
'options' => [

       
'curl_timeout' => 1,
       
'curl_verify' => true,

    ],

   
/*
    |--------------------------------------------------------------------------
    | Version
    |--------------------------------------------------------------------------
    |
    | Set which version of ReCaptcha to use.
    |
    */

   
'version' => 2,

];