captchaLogs()->create([ 'type' => $captchaLogType, 'ip' => $httpUserData->getClientIp(), 'user_agent' => Str::limit($httpUserData->getUserAgent(), 255, ''), 'referer' => Str::limit($httpUserData->getReferer(), 10000, ''), ]); } }