PHP code example of bariew / yii2-invisible-recaptcha
1. Go to this page and download the library: Download bariew/yii2-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/ */
bariew / yii2-invisible-recaptcha example snippets
php composer.phar
<?= $form->field($model, 'verifyCode')->widget(\bariew\invisibleRecaptcha\InvisibleRecaptchaWidget::className(), [
'buttonText' => 'Save' ,
'options' => ['class' => 'btn btn-primary'],
]);