PHP code example of oneduo / laravel-recaptcha-enterprise
1. Go to this page and download the library: Download oneduo/laravel-recaptcha-enterprise 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/ */
oneduo / laravel-recaptcha-enterprise example snippets
declare(strict_types=1);
namespace Oneduo\RecaptchaEnterprise\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use Oneduo\RecaptchaEnterprise\Rules\Recaptcha;
class TestRequest extends FormRequest
{
public function rules(): array
{
return [
'g-recaptcha-response' => ['