How can i resolve this problem about Mews Captcha?
In ProviderRepository.php line 208:
Class 'Mews\Captcha\CaptchaServiceProvider' not found
Mews Captcha not installed or configured properly. Please follow below steps:
composer require mews/captcha
If all goes well,Then
Find the providers key in config/app.php and register the Captcha Service Provider.
'providers' => [
// ...
'Mews\Captcha\CaptchaServiceProvider',
]
To use your own settings, publish config.
$ php artisan vendor:publish
config/captcha.php
return [
'default' => [
'length' => 5,
'width' => 120,
'height' => 36,
'quality' => 90,
'math' => true, //Enable Math Captcha
'expire' => 60, //Stateless/API captcha expiration
],
];
For more details