PHPackages                             majesko/anti-captcha - 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. majesko/anti-captcha

ActiveLibrary

majesko/anti-captcha
====================

Wrapper for anti-captcha service

1.1.0(8y ago)33391PHPPHP &gt;=7.0.0

Since May 28Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Majesko/anti-captcha)[ Packagist](https://packagist.org/packages/majesko/anti-captcha)[ RSS](/packages/majesko-anti-captcha/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

PHP Library for solving captcha using anti-captcha service ()
=======================================================================================

[](#php-library-for-solving-captcha-using-anti-captcha-service-httpsanti-captchacom)

note: for using library you need to be registered in anti-captcha service and have positive balance

\#Installation and usage

```
#install library with composer
php composer.phar require majesko/anti-captcha

```

Next init Anti-captcha client with api key from anti-captcha

```
$client = new \AntiCaptcha\Client('enter api key here');

```

Prepare captcha image in base64 format using helper method from url

```
$image = $client->image_url_to_base64('http://url-to-captcha-image');

```

Create new captcha solving task

```
$task = new \AntiCaptcha\Tasks\ImageToTextTask($image);

```

Send task to Anti-captcha

```
$taskResponse = $client->createTask($task);

```

Check captcha status

```
$status = $client->getTaskResult($taskResponse->getTaskId());

```

If captcha was solved (it takes ~30 seconds - depends on settings and difficulty) get solution

```
$solution = $status->getSolution();
$solution->getText(); // this is solved captcha string

```

For more information refer to anti-captcha docs:

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~1 days

Total

3

Last Release

3272d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e23fc2803461b94e29491aa3235078b9c4c95b91ca878d3742702c072a3fbad?d=identicon)[Majesko](/maintainers/Majesko)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/majesko-anti-captcha/health.svg)

```
[![Health](https://phpackages.com/badges/majesko-anti-captcha/health.svg)](https://phpackages.com/packages/majesko-anti-captcha)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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