warifp / nd-captcha
API module integration from 2captcha.
1.1.1
2021-07-23 17:55 UTC
Requires
- php: >=7.4
- ext-curl: *
- php-curl-class/php-curl-class: ^9.2
Requires (Dev)
- ext-gd: *
- phpunit/phpunit: *
- squizlabs/php_codesniffer: *
Suggests
- ext-mbstring: *
README
API module integration from 2Captcha.
Installation
To install Nd Captcha, simply:
$ composer require warifp/nd-captcha
For latest commit version:
$ composer require warifp/nd-captcha @dev
Requirements
PHP Nd Captcha works with PHP 7.0, 7.1, 7.2, 7.3, 7.4, and 8.0.
Quick Start and Examples
More examples are available under /examples.
require __DIR__ . '/vendor/autoload.php'; use NdCaptcha\NdCaptcha; $recaptcha = new NdCaptcha( '2CAPTCHA_KEY', 'PAGE_URL', 'GOOGLE_KEY', ); $captcha = $recaptcha->init(); var_dump($captcha);