Validation is ready.

This commit is contained in:
2023-12-03 00:46:06 +06:00
parent 250c1a9f8d
commit c39f6ba4d7
5 changed files with 201 additions and 0 deletions

8
src/helpers.php Normal file
View File

@@ -0,0 +1,8 @@
<?php declare(strict_types=1);
namespace korElf\CaptchaRuleForLaravel;
function htmlCaptcha(): string
{
return '<div class="captcha-service-kor-elf" data-domain="' . config('captcha.api_domain') . '" data-static-path="' . config('captcha.static_path') . '" data-token="' . config('captcha.api_public_token') . '" data-captcha-verified-name="' . config('captcha.captcha_verified_name') . '"></div><script src="' . config('captcha.static_path') . '/script.js" async></script>';
}