Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maximal/yii2-coinhive-captcha
CoinHive captcha widget for Yii2 web applications
https://github.com/maximal/yii2-coinhive-captcha
Last synced: about 2 months ago
JSON representation
CoinHive captcha widget for Yii2 web applications
- Host: GitHub
- URL: https://github.com/maximal/yii2-coinhive-captcha
- Owner: maximal
- License: mit
- Created: 2017-09-20T11:54:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-21T16:25:32.000Z (about 7 years ago)
- Last Synced: 2024-04-10T06:11:42.832Z (9 months ago)
- Language: PHP
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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)
## Links
* https://coinhive.com/documentation/captcha — CoinHive captcha documentation;
* http://www.yiiframework.com — Yii framework;
* https://maximals.ru — widget author’s website (Russian).