我如何解决这个关于Mews Captcha的问题?
In ProviderRepository.php line 208:
Class 'Mews\Captcha\CaptchaServiceProvider' not found 发布于 2021-08-06 10:46:46
Mews Captcha未正确安装或配置。请按照以下步骤操作:
composer需要mews/captcha
如果一切顺利,那么
在config/app.php中找到providers键并注册Captcha Service Provider。
'providers' => [
// ...
'Mews\Captcha\CaptchaServiceProvider',
]要使用您自己的设置,请发布配置。
$ php artisan供应商:发布
config/captcha.php
return [
'default' => [
'length' => 5,
'width' => 120,
'height' => 36,
'quality' => 90,
'math' => true, //Enable Math Captcha
'expire' => 60, //Stateless/API captcha expiration
],
];了解更多详细信息
https://stackoverflow.com/questions/68680145
复制相似问题