PHPackages                             hmphu/deathbycaptcha - 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. [API Development](/categories/api)
4. /
5. hmphu/deathbycaptcha

ActiveLibrary[API Development](/categories/api)

hmphu/deathbycaptcha
====================

DeathByCaptcha extension

1.0.0(10y ago)556.2k↓23.9%3[1 issues](https://github.com/hmphu/deathbycaptcha/issues)Apache-2.0PHP

Since Feb 23Pushed 9y ago4 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

DeathByCaptcha PHP Wrapper
==========================

[](#deathbycaptcha-php-wrapper)

Unofficial PHP wrapper for [DeathByCaptcha API](http://www.deathbycaptcha.com/user/api)

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

[](#installation)

The preferred way to install this extension is through composer.

Either run

```
php composer.phar require --prefer-dist hmphu/deathbycaptcha

```

or add

```
"hmphu/deathbycaptcha": "*"

```

to the require section of your composer.json.

Usage
-----

[](#usage)

```
use hmphu\deathbycaptcha\DeathByCaptchaSocketClient;
use hmphu\deathbycaptcha\DeathByCaptchaClient;

$deathByCaptchaUser = 'Your DBC API Username Here';
$deathByCaptchaPassword = 'Your DBC API Password Here';
$client = new DeathByCaptchaSocketClient($deathByCaptchaUser, $deathByCaptchaPassword);

try {
    $balance = $client->get_balance();
    if($balance > 0){
        /* Put your CAPTCHA file name or opened file handler, and optional solving timeout (in seconds) here: */
        $captcha = $client->decode($img, DeathByCaptchaClient::DEFAULT_TIMEOUT * 2);
        if ($captcha) {
            $text = $captcha['text'];
        }
    }
} catch (DeathByCaptchaAccessDeniedException $e) {
    /* Access to DBC API denied, check your credentials and/or balance */
}

```

Authors and Contributors
------------------------

[](#authors-and-contributors)

Make with love to DeathByCaptcha service

In 2016, PhuHM ([@hmphu](https://github.com/hmphu)), [http://hmphu.com](http://www.hnphu.com)

Support or Contact
------------------

[](#support-or-contact)

Having trouble? [contact me](mailto:me@hmphu.com)

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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

3784d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd115d146c384a7b17ac22fe1a8c43409c2049e0fa74674896936aa9ade5c90f?d=identicon)[hmphu](/maintainers/hmphu)

---

Top Contributors

[![hmphu](https://avatars.githubusercontent.com/u/2835749?v=4)](https://github.com/hmphu "hmphu (2 commits)")[![gsouf](https://avatars.githubusercontent.com/u/3215399?v=4)](https://github.com/gsouf "gsouf (1 commits)")

---

Tags

deathbycaptcha

### Embed Badge

![Health badge](/badges/hmphu-deathbycaptcha/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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