Download the PHP package topthink/think-captcha without Composer
On this page you can find all versions of the php package topthink/think-captcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download topthink/think-captcha
More information about topthink/think-captcha
Files in topthink/think-captcha
Download topthink/think-captcha
More information about topthink/think-captcha
Files in topthink/think-captcha
Vendor topthink
Package think-captcha
Short Description captcha package for thinkphp
License Apache-2.0
Package think-captcha
Short Description captcha package for thinkphp
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package think-captcha
think-captcha
thinkphp 验证码类库
安装
composer require topthink/think-captcha
使用
在控制器中输出验证码
在控制器的操作方法中使用
然后注册对应的路由来输出验证码
模板里输出验证码
首先要在你应用的路由定义文件中,注册一个验证码路由规则。
然后就可以在模板文件中使用
或者
上面两种的最终效果是一样的
控制器里验证
使用 TP 的内置验证功能即可
或者手动验证
All versions of think-captcha with dependencies
PHP Build Version
Package Version
Requires
topthink/framework Version
^6.0|^8.0
The package topthink/think-captcha contains the following files
Loading the files please wait ....