9 lines
484 B
PHP
9 lines
484 B
PHP
<?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>';
|
|
}
|