PHPackages                             adcaptcha/verify-adcaptcha - 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. adcaptcha/verify-adcaptcha

ActiveLibrary[Security](/categories/security)

adcaptcha/verify-adcaptcha
==========================

A PHP package for verifying adCAPTCHA tokens via the adCAPTCHA API.

1.0.1(1y ago)05MITPHPPHP ^8.2

Since Oct 30Pushed 1y ago2 watchersCompare

[ Source](https://github.com/adcaptcha-org/adCAPTCHA-PHP-composer)[ Packagist](https://packagist.org/packages/adcaptcha/verify-adcaptcha)[ Docs](https://adcaptcha.com/)[ RSS](/packages/adcaptcha-verify-adcaptcha/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

Verify adCAPTCHA PHP Package
============================

[](#verify-adcaptcha-php-package)

---

This PHP package verifying AdCAPTCHA tokens. The Verify class is used to verify a success token that is exposed after the successful completion of a CAPTCHA challenge.

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

[](#installation)

---

To use this package, include it in your project using Composer. If you haven't already set up Composer, follow the Composer installation guide.

Add the package to your project with:

```
composer require adcaptcha/verify-adcaptcha
```

Usage
-----

[](#usage)

API key
-------

[](#api-key)

The API Key is your secret key required for the verification step. You need to generate this key from the AdCAPTCHA dashboard.

Refer to the AdCAPTCHA documentation to learn how to create an API Key.

**Token**

The token is exposed when the CAPTCHA has been successfully solved. You need to provide this token to verify the CAPTCHA.

**Example**

Here is an example of how to use the Verify class to verify a CAPTCHA token:

```
