PHP code example of dazza-dev / captcha-solver

1. Go to this page and download the library: Download dazza-dev/captcha-solver library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

dazza-dev / captcha-solver example snippets


use DazzaDev\CaptchaSolver\CaptchaSolverClient;

$captchaSolver = new CaptchaSolverClient;
$captchaSolver->setService('service-name');
$captchaSolver->setApiKey('your-api-key-here');

$balance = $captchaSolver->getBalance();

echo $balance;

$result = $captchaSolver->solveReCaptchaV2(
    websiteUrl: 'website_url',
    websiteKey: 'website_key',
);

echo $result;

$result = $captchaSolver->solveReCaptchaV3(
    websiteUrl: 'website_url',
    websiteKey: 'website_key',
);

echo $result;