captcha package for thinkphp6
github.com/hongchenker/ImgCaptcha
Source
Issues
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
Requires (Dev)
None
Suggests
Provides
Conflicts
Replaces
MIT 76d200f69579a5d24a18266b949f58f69e9fce78
This package is auto-updated.
Last update: 2024-05-17 20:14:35 UTC
thinkphp6前后端分离验证码
composer require hck/img-captcha
在控制器的操作方法中使用
public function imgcaptcha($id = '') { return imgcaptcha($id); }
手动验证
if(!imgcaptcha_check($captcha)){ //验证失败 };