dazza-dev / captcha-solver
Implementation of anti-captcha.com, capmonster.cloud and capsolver.com
Installs: 2
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/dazza-dev/captcha-solver
Requires
- php: >=8.0
README
This package provides a simple and convenient way to solve captchas using different services.
Supported Services
anticaptcha- api.anti-captcha.comcapmonster- api.capmonster.cloudcapsolver- api.capsolver.com
Installation
composer require dazza-dev/captcha-solver
Usage
Configuration
Before using the package, you need to configure the captcha solver service and API key.
use DazzaDev\CaptchaSolver\CaptchaSolverClient; $captchaSolver = new CaptchaSolverClient; $captchaSolver->setService('service-name'); $captchaSolver->setApiKey('your-api-key-here');
Get Balance
$balance = $captchaSolver->getBalance(); echo $balance;
Solve reCaptcha V2
$result = $captchaSolver->solveReCaptchaV2( websiteUrl: 'website_url', websiteKey: 'website_key', ); echo $result;
Solve reCaptcha V3
$result = $captchaSolver->solveReCaptchaV3( websiteUrl: 'website_url', websiteKey: 'website_key', ); echo $result;
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
Captcha Solver was created by DAZZA.
License
This project is licensed under the MIT License.