Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from albertcht/develop
Refactor options config from develop branch
- Loading branch information
Showing
5 changed files
with
119 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,20 @@ | ||
<?php | ||
|
||
return [ | ||
// your recapthca site key. | ||
'siteKey' => env('INVISIBLE_RECAPTCHA_SITEKEY'), | ||
// your recapthca secret key. | ||
'secretKey' => env('INVISIBLE_RECAPTCHA_SECRETKEY'), | ||
'hideBadge' => env('INVISIBLE_RECAPTCHA_BADGEHIDE', false), | ||
'dataBadge' => env('INVISIBLE_RECAPTCHA_DATABADGE', 'bottomright'), | ||
'debug' => env('INVISIBLE_RECAPTCHA_DEBUG', false) | ||
// other options to customize your configs | ||
'options' => [ | ||
// set true if you want to hide your recaptcha badge | ||
'hideBadge' => env('INVISIBLE_RECAPTCHA_BADGEHIDE', false), | ||
// optional, reposition the reCAPTCHA badge. 'inline' allows you to control the CSS. | ||
// available values: bottomright, bottomleft, inline | ||
'dataBadge' => env('INVISIBLE_RECAPTCHA_DATABADGE', 'bottomright'), | ||
// timeout value for guzzle client | ||
'timeout' => env('INVISIBLE_RECAPTCHA_TIMEOUT', 5), | ||
// set true to show binding status on your javascript console | ||
'debug' => env('INVISIBLE_RECAPTCHA_DEBUG', false) | ||
] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters