PHPackages                             collabora/mautic2-hcaptcha - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. collabora/mautic2-hcaptcha

ActiveMautic-plugin[Utility &amp; Helpers](/categories/utility)

collabora/mautic2-hcaptcha
==========================

This plugin brings hCaptcha integration to mautic.

1.1.3(5y ago)03GPL-3.0-onlyPHP

Since Jul 22Pushed 4y agoCompare

[ Source](https://github.com/CollaboraProductivity/mautic-hcaptcha)[ Packagist](https://packagist.org/packages/collabora/mautic2-hcaptcha)[ RSS](/packages/collabora-mautic2-hcaptcha/feed)WikiDiscussions mautic2-hcaptcha Synced 3w ago

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

Mautic 2 hCaptcha Plugin
========================

[](#mautic-2-hcaptcha-plugin)

[![packagist](https://camo.githubusercontent.com/f49b403ae040b3d449d01a813c3d902c4e4098c67bd802fb292063c80386bafd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6c6c61626f72612f6d6175746963322d68636170746368612e737667)](https://packagist.org/packages/collabora/mautic2-hcaptcha)[![license](https://camo.githubusercontent.com/169d8f54fd04996007e8a75337ce7cce0693d24e65cba22a8791187080e80da9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636f6c6c61626f72612f6d6175746963322d68636170746368612e737667)](LICENSE)[![mautic](https://camo.githubusercontent.com/714453acc65044c6efc1630cb2b6aa358a6e2e7bf485ed1d7ddf95304cf50258/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61757469632d253345253344253230322e372e312d626c75652e737667)](https://www.mautic.org/marketplace/)

This plugin brings hCaptcha integration to mautic 2.X.

This project is nearly exclusively based on the mautic-recaptcha plugin developed by Konstantin Scheumann.

Ideas and suggestions are welcome, feel free to create an issue or PR on Github.

Licensed under GNU General Public License v3.0.

Installation via composer (preferred)
-------------------------------------

[](#installation-via-composer-preferred)

Execute `composer require collabora/mautic2-hcaptcha` in the main directory of the mautic installation.

Installation via .zip
---------------------

[](#installation-via-zip)

1. Download the [master.zip](https://github.com/collaboraproductivity/mautic2-hcaptcha/archive/master.zip), extract it into the `plugins/` directory and rename the new directory to `MauticHcaptchaBundle`.
2. Clear the cache via console command `php app/console cache:clear --env=prod` (might take a while) *OR* manually delete the `app/cache/prod` directory.

Configuration
-------------

[](#configuration)

In Mautic, go to `Settings` &gt; `Plugins` and click the `Install/Upgrade Plugins` button located at the top right of the screen.

You should now see a "hCaptcha" plugin. Ensurre `Published`is on `Yes` and specify the site key and site secret.

[![plugin config](./doc/installation-0001.png "plugin config")](./doc/installation-0001.png)

Usage in Mautic Form
--------------------

[](#usage-in-mautic-form)

Go in `Components`&gt; `Forms`, edit a form and click on the button `Add a field` &gt; `hCaptcha`.

[![plugin config](./doc/installation-0002.png "plugin config")](./doc/installation-0002.png)

Specify a label (mandatory) and click on `Submit`.

[![plugin config](./doc/installation-0003.png "plugin config")](./doc/installation-0003.png)

Now, if everything has been set up correctly and the keys have been properly specified, you should see the preview of the captcha.

[![plugin config](./doc/installation-0004.png "plugin config")](./doc/installation-0004.png)

Patching procedure
------------------

[](#patching-procedure)

The differences between this plugin and the one developed by Konstantin are kept minimal. What we just did to support this plugin is as follow:

1. See commit 5a47951195ee4f141010a54bca40fbd34cfdd393 for the endpoint and form field changes. Change based upon the official [hCaptcha migration guide](https://docs.hcaptcha.com/switch).
2. Bulk replace to hCaptcha: ```
     # For PHP constants
     sed -i -- 's/HCAPTCHA/HCAPTCHA/g' $(find . -type f -not -path '*.git*')
     # For PHP variables and namespaces
     sed -i -- 's/Hcaptcha/Hcaptcha/g' $(find . -type f -not -path '*.git*')
     sed -i -- 's/hCaptcha/hCaptcha/g' $(find . -type f -not -path '*.git*')
     sed -i -- 's/hcaptcha/hcaptcha/g' $(find . -type f -not -path '*.git*')

    ```
3. Rename files from recaptcha to hCaptcha
4. Pay attention that in `Integration/HcaptchaIntegration.php`, the name returned by the `getName()` method must be lowercased and start with an uppercase (so Hcaptcha), otherwise the configuration dialog box used for the configuration of the extension will be empty.

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1976d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23d9f5ce538790ed9f584a671a0f3c6f0cc1c69f84df78e654f8d4dd34dea7e2?d=identicon)[collabora](/maintainers/collabora)

![](https://www.gravatar.com/avatar/20ab4a14c14eb108c6bf626b103b244cbe6141d49633b36df7259c20ba601b79?d=identicon)[wget](/maintainers/wget)

---

Top Contributors

[![KonstantinCodes](https://avatars.githubusercontent.com/u/844484?v=4)](https://github.com/KonstantinCodes "KonstantinCodes (44 commits)")[![wget](https://avatars.githubusercontent.com/u/2997662?v=4)](https://github.com/wget "wget (4 commits)")[![escopecz](https://avatars.githubusercontent.com/u/1235442?v=4)](https://github.com/escopecz "escopecz (1 commits)")[![loilo](https://avatars.githubusercontent.com/u/1922624?v=4)](https://github.com/loilo "loilo (1 commits)")

### Embed Badge

![Health badge](/badges/collabora-mautic2-hcaptcha/health.svg)

```
[![Health](https://phpackages.com/badges/collabora-mautic2-hcaptcha/health.svg)](https://phpackages.com/packages/collabora-mautic2-hcaptcha)
```

###  Alternatives

[thedmsgroup/mautic-health-bundle

Checks the health of the Mautic instance.

1210.8k](/packages/thedmsgroup-mautic-health-bundle)[thedmsgroup/mautic-contact-ledger-bundle

Historical accounting for contacts

222.7k](/packages/thedmsgroup-mautic-contact-ledger-bundle)[thedmsgroup/mautic-media-bundle

Pulls cost data from media advertising services.

251.0k](/packages/thedmsgroup-mautic-media-bundle)[thedmsgroup/mautic-campaign-watch-bundle

Visual improvements for campaigns.

171.9k](/packages/thedmsgroup-mautic-campaign-watch-bundle)[maatoo/mautic-referrals-bundle

This plugin enables referrals in mautic.

142.7k](/packages/maatoo-mautic-referrals-bundle)[thedmsgroup/mautic-segment-extras-bundle

Extends Mautic Lead Bundle's Lead List (Segment) functionality.

151.4k](/packages/thedmsgroup-mautic-segment-extras-bundle)

PHPackages © 2026

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