# 极验证码 **Repository Path**: jason.w.wei/geetest ## Basic Information - **Project Name**: 极验证码 - **Description**: No description available - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2019-02-28 - **Last Updated**: 2021-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 极验geetest thinkphp5.x可用的极验扩展 ## 安装 > composer require yfcmf/geetest ##使用 ###参数配置 在配置文件config里配置geetest配置,需要到官网申请 ~~~ //举例 'geetest'=> [ 'captcha_id' =>'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'private_key'=>'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', ], ~~~ ###模板里的调用 ~~~
~~~ ### 控制器里验证 ~~~ //需要传入$_POST请求的数据 if(!geetest_check($post)){ //验证失败 }; ~~~