juniorb2ss/deathbycaptcha-php-sdk

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!

1.1.1 2018-01-03 12:14 UTC

README

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.