PHPackages                             abovesky/anticaptcha - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. abovesky/anticaptcha

ActiveLibrary

abovesky/anticaptcha
====================

A Simple wrapper for anti-captcha.com

v1.0.0(8y ago)036MITPHPPHP &gt;=5.4.0

Since Oct 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/abovesky/anticaptcha)[ Packagist](https://packagist.org/packages/abovesky/anticaptcha)[ RSS](/packages/abovesky-anticaptcha/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

anticaptcha
===========

[](#anticaptcha)

A Simple wrapper for anti-captcha.com

Thanks
======

[](#thanks)

[maxlen/anticaptcha](https://github.com/maxlen/anticaptcha)

Installation:
-------------

[](#installation)

```
composer require abovesky/anticaptcha
```

### Use for captcha ImageToText:

[](#use-for-captcha-imagetotext)

```
$resCaptcha = new CaptchaService(
    $apiKey, // your apiKey from anti-captcha.com
    CaptchaService::TYPE_IMAGE_TO_TEXT,
    [
        'imgPath' => '/path/example.png', // path to captcha image
        'isBase64' => false
    ]
);

echo $resCaptcha->check(); // text-result

// or

$resCaptcha->check();
echo $resCaptcha->hashResult; // text-result
```

### Use for reCaptcha:

[](#use-for-recaptcha)

```
// $html - it's html-code from $url
// $html = file_get_contents($url) or something like that

if (Captcha::isCaptcha($html)) {
    $html = self::CaptchaProc($url, $html);
    die('CAPTCHA RESOLVED');
}

private function CaptchaProc($url, $html)
{
    $resCaptcha = new CaptchaService(
        $apiKey, // your apiKey from anti-captcha.com
        CaptchaService::TYPE_NO_CAPTCHA_PROXYLESS,
        [
            'webSiteUrl' => $url,
            'html' => $html,
        ]
    );

    // echo PHP_EOL . "getWebSiteKey: " . $resCaptcha->getWebSiteKey();
    // echo PHP_EOL . "getWebSiteSToken: " . $resCaptcha->getWebSiteSToken();
    // echo PHP_EOL;
    // var_dump($resCaptcha->getResolveGetParams());

    if (!$resCaptcha->check()) {
        return false;
    }

    $resolveUrl = $url . '&g-recaptcha-response=' . $resCaptcha->hashResult;
    return file_get_contents($resolveUrl); // curl or something like that
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3124d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0990e9870c200570a06f5da79b10752b281e630606e0346bb2bd6995b6fef32b?d=identicon)[abovesky](/maintainers/abovesky)

---

Top Contributors

[![abovesky](https://avatars.githubusercontent.com/u/5986216?v=4)](https://github.com/abovesky "abovesky (2 commits)")

### Embed Badge

![Health badge](/badges/abovesky-anticaptcha/health.svg)

```
[![Health](https://phpackages.com/badges/abovesky-anticaptcha/health.svg)](https://phpackages.com/packages/abovesky-anticaptcha)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
