Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Easy Geetest Laravel Package

beastphp/easy-geetest

EasyGeetest PHP SDK for integrating Geetest CAPTCHA with modern PHP (>=7.1). Composer-ready, namespaced wrapper based on the official SDK. Instantiate with captcha_id/private_key and call successValidate with challenge/validate/seccode plus optional user/client/ip info.

View on GitHub
Deep Wiki
Context7

996.icu

easy-geetest

项目介绍

easy极验 PHP SDK 由于官方PHP SDK年代久远 不支持Namespace、Composer,于是在官方基础上制作了Easy极验PHP SDK

环境需求

1.PHP >= 7.1

安装

composer require beastphp/easy-geetest

使用说明

use Beast\EasyGeetest\EasyGeetest;

$geetest = new EasyGeetest([
    'captcha_id' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
    'private_key' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
]);

//验证结果
$geetest->successValidate(
    'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
    'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
    'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx|xxxxxx',
    [
        "user_id" => "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "client_type" => "web",
        "ip_address" => "127.0.0.1",
    ]
);

参与贡献

  1. Fork 本项目
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
adachsoft/php-code-style