ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
>[danger] #### topthink/think-captcha 简介 THhinkPHP 官方提供的验证码扩展包 topthink/think-captcha 传送门:[https://packagist.org/packages/topthink/think-captcha](https://packagist.org/packages/topthink/think-captcha) >[danger] #### 通过composer安装`think-captcha`扩展 ``` composer require topthink/think-captcha ``` ![](https://img.kancloud.cn/20/ca/20cadb3dd6bba678cbba4b7e645abd55_1060x517.png) >[danger] #### `think-captcha`扩展库安装后框架目录结构的变动 ##### **在 vendor/topthink目录下生成 think-captcha目录** ![](https://img.kancloud.cn/36/69/3669c6b82d69db754662e50cddce2a7f_271x654.png) ##### **在全局配置目录下生成 captcha.php 全局配置文件** ![](https://img.kancloud.cn/fd/05/fd050dc97306b108cf059381cbbc9332_1195x765.png)