PHPackages                             lucsaarend/anticaptcha-php - 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. lucsaarend/anticaptcha-php

ActiveLibrary

lucsaarend/anticaptcha-php
==========================

composer-wrapper for official anticaptcha api implementation

1.0.0(3y ago)39792MITPHPPHP &gt;=7.0

Since Dec 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/LucsaArend/AntiCapcha-PHP)[ Packagist](https://packagist.org/packages/lucsaarend/anticaptcha-php)[ RSS](/packages/lucsaarend-anticaptcha-php/feed)WikiDiscussions main Synced 1mo ago

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

AntiCapcha-PHP
==============

[](#anticapcha-php)

About Package
-------------

[](#about-package)

Hey, Feel free to suggest improvements!

[Original Repository GitHub](https://github.com/AdminAnticaptcha/anticaptcha-php)

Installation
------------

[](#installation)

Router is available via Composer:

```
"lucsaarend/anticaptcha-php": "^1.0"
```

or run

```
composer require lucsaarend/anticaptcha-php
```

Documentation
-------------

[](#documentation)

### Suports Solution

[](#suports-solution)

- AntiGate (Use in cloudFlare site protect example)
- FunCapcha
- FunCapcha ProxyLess
- GeeTest
- GeeTest ProxyLess
- HCapcha
- Hcapcha ProxyLess
- ImageToText
- RecaptchaV2
- RecaptchaV2 ProxyLess
- RecaptchaV2 Enterprise
- RecaptchaV2 Enterprise ProxyLess
- RecaptchaV3
- RecaptchaV3 Enterprise
- SquareCaptcha

Oficial Documentation [AntiCapcha](http://getcaptchasolution.com/ctskr7kjok)

### Set Api Key

[](#set-api-key)

```
#Set Api Key
Suport ENV use ANTICAPTCHA_KEY=YORK_KEY

#Use method setKey
#Example
$apiCaptcha = new AntiGate();
$apiCaptcha->setKey('MyKey');
```

### Examples

[](#examples)

#### RecaptchaV2

[](#recaptchav2)

```
$apiCaptcha = new RecaptchaV2();
$apiCaptcha->setVerboseMode(true);#Use to debug

//recaptcha key from target website
$apiCaptcha->setWebsiteURL("http://http.myjino.ru/recaptcha/test-get.php");
$apiCaptcha->setWebsiteKey("6Lc_aCMTAAAAABx7u2W0WPXnVbI_v6ZdbM6rYf16");

//browser header parameters
$apiCaptcha->setUserAgent("Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0");

if (!$apiCaptcha->createTask()) {
    $apiCaptcha->debout("API v2 send failed - ".$api->getErrorMessage(), "red");
    return false;
}

$taskId = $apiCaptcha->getTaskId();

if (!$apiCaptcha->waitForResult()) {
    $apiCaptcha->debout("could not solve captcha", "red");
    $apiCaptcha->debout($apiCaptcha->getErrorMessage());
} else {
    $recaptchaToken =   $apiCaptcha->getTaskSolution();
    echo "\ntoken result: $recaptchaToken\n\n";
}
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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

1244d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/94dd208650ad5205cee0042fe2eea6f0c1c2edc3b863ca90bbc417749f53e87c?d=identicon)[Lucas Arend](/maintainers/Lucas%20Arend)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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