PHPackages                             maximal/yii2-coinhive-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. [Security](/categories/security)
4. /
5. maximal/yii2-coinhive-captcha

ActiveYii2-extension[Security](/categories/security)

maximal/yii2-coinhive-captcha
=============================

Yii2 widget for using CoinHive captcha in application forms.

015[1 issues](https://github.com/maximal/yii2-coinhive-captcha/issues)PHP

Since Dec 21Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

CoinHive captcha for Yii2
=========================

[](#coinhive-captcha-for-yii2)

This widget implements CoinHive proof-of-work captcha for your Yii2 web application. From a website owner’s perspective the CoinHive captcha works exactly like a conventional captcha, such as Google’s reCaptcha.

The captcha is embeded as a usual Yii2 widget for ActiveForm with any of your model. User client side generates a token. The token is submitted together with the other form data. Then bundled captcha validator confirms this token on your server through CoinHive HTTP API.

Unlike with a conventional captcha however, the user does not have to “proof they’re human”. Instead, the captcha is a “proof of work” — making it uneconomic for spammers to game your system.

[![GIF demo](https://user-images.githubusercontent.com/980679/30642361-37e2b8d8-9e13-11e7-8e3c-0580028435cb.gif)](https://user-images.githubusercontent.com/980679/30642361-37e2b8d8-9e13-11e7-8e3c-0580028435cb.gif)

Links
-----

[](#links)

-  — CoinHive captcha documentation;
-  — Yii framework;
-  — widget author’s website (Russian).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/980679?v=4)[MaximAL](/maintainers/maximal)[@maximal](https://github.com/maximal)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/maximal-yii2-coinhive-captcha/health.svg)

```
[![Health](https://phpackages.com/badges/maximal-yii2-coinhive-captcha/health.svg)](https://phpackages.com/packages/maximal-yii2-coinhive-captcha)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

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