PHP code example of fetzi / kirby-uniform-recaptcha
1. Go to this page and download the library: Download fetzi/kirby-uniform-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/ */
fetzi / kirby-uniform-recaptcha example snippets
// load kirby
or'.DS.'autoload.php';
$form = new Form(/* ... */);
if (r::is('POST')) {
$form->recaptchaGuard()
->emailAction(/* ... */);
}
html+php
<form action=" echo $page->url()
echo recaptcha_field();