PHP code example of shadowprince / forman-recaptcha

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

    

shadowprince / forman-recaptcha example snippets


$form = new \Forman\Form(
    new \Forman\Field\Value("name"),
    (new \Forman\Field\Recaptcha())->setKeys("private", "public")
);

\Forman\Field\Recaptcha::defaultKeys("private", "public");