PHP code example of sdelfi / yii2-invisible-recaptcha

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

    

sdelfi / yii2-invisible-recaptcha example snippets


php composer.phar 

    <?= $form->field($model, 'verifyCode')->widget(\sdelfi\invisibleRecaptcha\InvisibleRecaptchaWidget::className(), [
        'buttonText' => 'Save' ,
        'options' => ['class' => 'btn btn-primary'],
    ]);