You can install this package via Composer.
composer require dazza-dev/laravel-captcha-solver
CAPTCHA_SOLVER_SERVICE=your_captcha_solver_service (anti_captcha, any_captcha, cap_monster, cap_solver)
CAPTCHA_SOLVER_API_KEY=your_captcha_solver_api_key
use DazzaDev\LaravelCaptchaSolver\CaptchaSolverClient;
public function solveReCaptcha(): mixed
{
$solver = new CaptchaSolverClient();
return $solver->solveReCaptchaV2('websiteUrl', 'websiteKey');
}
Or
public function solveReCaptcha(): mixed
{
return app('captcha_solver')->solveReCaptchaV2('websiteUrl', 'websiteKey');
}
Contributions are welcome. If you find any bugs or have ideas for improvements, please open an issue or send a pull request. Make sure to follow the contribution guidelines.
Laravel Captcha Solver was created by DAZZA.
This project is licensed under the MIT License.