chernyshev / yii2-coinhive-captcha
Coinhive Proof of Work Captcha for Yii2
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ^2.0.0
- yiisoft/yii2-httpclient: ^2.0.0
This package is not auto-updated.
Last update: 2021-04-03 11:02:06 UTC
README
Coinhive Proof of Work Captcha for Yii2
Coinhive offers an easy to implement captcha-like service where users need to solve a number of hashes (adjustable by you) in order to submit a form. This prevents spam at an inconvenience that is comparable to a classic captcha. All with the added benefit of earning you money.
Installation
Composer
Composer is a widely used dependency manager for PHP
packages. This Coinhive Captcha widget is available on Packagist as
chernyshev/yii2-coinhive-captcha
and can be
installed either by running the composer require
command or adding the library
to your composer.json
. To enable Composer for you project, refer to the
project's Getting Started
documentation.
To add this dependency using the command, run the following from within your project directory:
composer require chernyshev/yii2-coinhive-captcha "^1.0.0"
Alternatively, add the dependency directly to your composer.json
file:
"require": { "chernyshev/yii2-coinhive-captcha": "^1.0.0" }