框架验证码插件的安装配置

Original 2019-03-27 22:52:41 232
abstract:在项目目录下用composer 运行composer require topthink/think-captcha验证码配置 在config目录下新建配置文件captcha.config$config =    [    // 验证码字体大小    'fontSize'    =>  

在项目目录下用composer 运行composer require topthink/think-captcha

验证码配置 在config目录下新建配置文件captcha.config

$config =    [
   // 验证码字体大小
   'fontSize'    =>    30,    
   // 验证码位数
   'length'      =>    3,  
   // 关闭验证码杂点
   'useNoise'    =>    false, ]


Correcting teacher:天蓬老师Correction time:2019-03-28 09:48:29
Teacher's summary:从5.1开始全面支持组件化开发, 框架的组件化是一个趋势

Release Notes

Popular Entries