PHP code example of crawly / captcha-breaker
1. Go to this page and download the library: Download crawly/captcha-breaker 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/ */
crawly / captcha-breaker example snippets
$clientKey = '0cc175b9c0f1b6a831c399e269772661';
$base64Image = 'MTExMTExMTEx';
$imageToText = new ImageToText($clientKey, $base64Image);
$text = $imageToText->solve(); // deditur
$clientKey = '0cc175b9c0f1b6a831c399e269772661';
$base64Image = 'MTExMTExMTEx';
$imageToText = new ImageToText($clientKey, $base64Image, null, false, false, 1, true);
$text = $imageToText->solve(); // 56
$clientKey = '0cc175b9c0f1b6a831c399e269772661';
$websiteURL = 'http://test.org';
$websiteKey = '6Lc_aCMTAAAAABx7u2N0D1XnVbI_v6ZdbM6rYf16';
$imageToText = new NoCaptcha($clientKey, $websiteURL, $websiteKey);
$text = $imageToText->solve(); // 3AHJ_VuvYIBNBW5yyv0zRYJ75VkOKvhKj9_xGBJKnQimF72rfoq3Iy-DyGHMwLAo6a3
$clientKey = '0cc175b9c0f1b6a831c399e269772661';
$websiteURL = 'http://test.org';
$websiteKey = '6Lc_aCMTAAAAABx7u2N0D1XnVbI_v6ZdbM6rYf16';
$imageToText = new ReCaptchaV3($clientKey, $websiteURL, $websiteKey, 'myverify', ReCaptchaV3::MIN_SCORE_0_7);
$text = $imageToText->solve(); // 3AHJ_VuvYIBNBW5yyv0zRYJ75VkOKvhKj9_xGBJKnQimF72rfoq3Iy-DyGHMwLAo6a3
$clientKey = '0cc175b9c0f1b6a831c399e269772661';
$base64Image = 'MTExMTExMTEx';
$imageToText = new ImageToText($clientKey, $base64Image, $logger);
$text = $imageToText->solve(); // deditur