Download the PHP package iwindy/tp-api-captcha without Composer
On this page you can find all versions of the php package iwindy/tp-api-captcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package tp-api-captcha
tp-api-captcha
根据topthink/think-captcha修改而来,适合thinkphp6的api 验证码类库
安装
composer require iwindy/tp-api-captcha
使用
在控制器中输出验证码
在控制器的操作方法中使用
public function api_captcha($id = '')
{
return captcha($id);
}
然后注册对应的路由来输出验证码
控制器里验证
if(!api_captcha_check($captcha)){
//验证失败
};
All versions of tp-api-captcha with dependencies
PHP Build Version
Package Version
No informations.
The package iwindy/tp-api-captcha contains the following files
Loading the files please wait ....