dazza-dev / laravel-captcha-solver
Laravel implementation of anti-captcha.com, anycaptcha.com, capsolver.com and capmonster.cloud
v1.0.0
2024-08-13 16:44 UTC
Requires
- php: >=7.1
README
You can install this package via Composer.
composer require dazza-dev/laravel-captcha-solver
Configuration
CAPTCHA_SOLVER_SERVICE=your_captcha_solver_service (anti_captcha, any_captcha, cap_monster, cap_solver)
CAPTCHA_SOLVER_API_KEY=your_captcha_solver_api_key
Captcha Resolution
Solve reCaptcha Google
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
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.
Author
Laravel Captcha Solver was created by DAZZA.
License
This project is licensed under the MIT License.