composer安装thinkphp验证码并配置

原创 2019-04-22 14:38:19 223
摘要:<?php //composer安装验证码 composer require topthink/think-captcha //验证码配置 config目录下新建captcha.php return[     'codeSet'=>'123456789',   &
<?php
//composer安装验证码
composer require topthink/think-captcha

//验证码配置 config目录下新建captcha.php
return[
    'codeSet'=>'123456789',
    'fontSize' => '20',
    'imageW'=>150,
    'imageH'=>35,
    'length'=>4,
    'reset'=>true,
];
?>


批改老师:查无此人批改时间:2019-04-23 13:37:57
老师总结:完成的不错。composer还可以安装很多,可以多了解下。继续加油

发布手记

热门词条