composer require topthink/think-captcha
可配置 验证码的属性
直接在应用的config
目录下面的captcha.php
文件中进行设置即可
在view中的htm文件调用即可 此方法可以写在img里面
需要在中间配置中开启session
<div>
{:captcha_img()}
</div>
更多使用方法->https://www.kancloud.cn/manual/thinkphp6_0/1246402
composer require topthink/think-captcha
可配置 验证码的属性
直接在应用的config
目录下面的captcha.php
文件中进行设置即可
在view中的htm文件调用即可 此方法可以写在img里面
需要在中间配置中开启session
<div>
{:captcha_img()}
</div>
更多使用方法->https://www.kancloud.cn/manual/thinkphp6_0/1246402