juniorb2ss / deathbycaptcha-php-sdk by juniorb2s

With Death by Captcha you can solve any CAPTCHA. All you need to do is implement our API, pass us your CAPTCHAs and we’ll return the text. It’s that easy!
19,078
6
3
Package Data
Maintainer Username: juniorb2s
Maintainer Contact: juniorb2ss@gmail.com (Carlos Eduardo)
Package Create Date: 2017-08-02
Package Last Update: 2021-04-29
Language: PHP
License: MIT
Last Refreshed: 2024-04-18 15:08:33
Package Statistics
Total Downloads: 19,078
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 6
Total Watchers: 3
Total Forks: 2
Total Open Issues: 3

DeathByCaptcha PHP SDK

Build Status Code Coverage Laravel Scrutinizer Code Quality StyleCI Code Climate

CAPTCHA Bypass done right

With Death by Captcha you can solve any CAPTCHA. All you need to do is implement our API, pass us your CAPTCHAs and we’ll return the text. It’s that easy!

Please note that our services should be used only for research projects and any illegal use of our services is strictly prohibited. Any bypass and CAPTCHA violations should be reported to emailcom

The juniorb2ss/deathbycaptcha-php-sdk is a package to make Decaptcha easy!

Install

You can install this package via composer:

$ composer require juniorb2ss/deathbycaptcha-php-sdk~1.*

Example

use juniorb2ss\DeathByCaptcha\DeathByCaptcha;

// You need first register and buy credits in http://www.deathbycaptcha.com
$dbc = new DeathByCaptcha('yourUsername', 'yourPassword');

// To retrieve service status
$serviceStatus = $dbc->status();

// To get user informations
$user = $dbc->account();

echo 'My Credits: ' . $user->getBalance(); //1232.2881

// you can pass: path image, base64, image link
$captcha = $dbc->resolve('captcha.jpg');

// supports recaptcha v2
// $captcha = $dbc->resolveV2($googleKey, $webUrl);

// This is captcha ID in service, you need call resolve method with this ID seconds later.
$captchaId = $dbc->captchaId();

// make a simple loop or just sleep
// sleep(7);
$captchaText = $dbc->resolve((int) $captchaId) // return captcha text for human

Tests

composer run test

Change log

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.