PHPackages                             markocupic/contao-altcha-antispam - 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. markocupic/contao-altcha-antispam

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

markocupic/contao-altcha-antispam
=================================

ALTCHA antispam form widget for Contao CMS

0.7.0(6mo ago)68.1k↓17.2%2[4 issues](https://github.com/markocupic/contao-altcha-antispam/issues)GPL-3.0-or-laterPHPPHP ^8.1CI passing

Since Feb 11Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/markocupic/contao-altcha-antispam)[ Packagist](https://packagist.org/packages/markocupic/contao-altcha-antispam)[ RSS](/packages/markocupic-contao-altcha-antispam/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (15)Versions (38)Used By (0)

[![logo](docs/logo.png)](docs/logo.png)

Contao Altcha Antispam
======================

[](#contao-altcha-antispam)

This is a [**Contao CMS**](https://contao.org) implementation of [**Altcha**](https://altcha.org/). The extension provides a **front end** **form field** for the **Contao form generator**.

[![frontend](docs/frontend_1.png)](docs/frontend_1.png)[![frontend](docs/frontend_2.png)](docs/frontend_2.png)[![frontend](docs/frontend_3.png)](docs/frontend_3.png)**ALTCHA** uses a proof-of-work (POW) mechanism to protect your forms from spam and abuse. Unlike other solutions, **ALTCHA** is **self-hosted**, does not use cookies nor fingerprinting, does not track users, and is **fully compliant** with **GDPR**.

[Visit https://altcha.org](https://altcha.org)

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

[](#installation)

You can install the package via composer:

```
composer require markocupic/contao-altcha-antispam
```

Afterwards run the database migration task:

```
php vendor/bin/contao-console contao:migrate
```

Configuration and usage
-----------------------

[](#configuration-and-usage)

The extension runs out of the box and no further configuration is required. Nevertheless, some parameters can be configured.

The **[Complexity](https://altcha.org/docs/v2/complexity/)** can be adjusted by modifying the minimum and maximum values of the randomly generated secret number on the server side (`markocupic_contao_altcha_antispam.range_min` and `markocupic_contao_altcha_antispam.range_max`). A lower maximum value creates a less complex challenge, requiring fewer computational iterations for the client to find a matching solution. Conversely, a higher maximum value increases the complexity, demanding more computational resources and time from the client.

Run composer install in your terminal to clear and rebuild cache if you made changes to the `config.yaml` file.

```
# config/config.yaml
markocupic_contao_altcha_antispam:
  algorithm: 'SHA-256' # optional, default is SHA-256
  range_min: 290000 # Lower limit for the complexity (optional), default is 10000
  range_max: 300000 # Upper limit for the complexity (optional), default is 100000
  challenge_expiry: 3600 # optional, default is 3600
```

keydefault valueinfoRequired`algorithm``SHA-256`Choose between `SHA-256`, `SHA-512` or `SHA-384`no`range_min``10000`**Complexity:** Choose a higher value to increase the complexity/duration. A minimum value of the random number of at least several thousand as a "minimum required complexity" is recomended. [More](https://altcha.org/docs/v2/complexity/)no`range_max``100000`**Complexity:** Choose a higher value to increase the complexity/duration. The maximum value of 100,000 is a good start for most systems. [More](https://altcha.org/docs/v2/complexity/)no`challenge_expiry``3600`Choose an expiration time, so that there is not an infinite amount of time to solve the challenge.noEndpoint (route)
----------------

[](#endpoint-route)

Out of the box, the extension will use the `/_contao_altcha_challenge` endpoint to get the challenges.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance55

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

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

Every ~19 days

Recently: every ~5 days

Total

37

Last Release

187d ago

PHP version history (2 changes)0.1.0PHP ^8.1

0.1.2PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1525166?v=4)[Marko Cupic](/maintainers/markocupic)[@markocupic](https://github.com/markocupic)

---

Top Contributors

[![markocupic](https://avatars.githubusercontent.com/u/1525166?v=4)](https://github.com/markocupic "markocupic (73 commits)")[![fritzmg](https://avatars.githubusercontent.com/u/4970961?v=4)](https://github.com/fritzmg "fritzmg (5 commits)")[![rabauss](https://avatars.githubusercontent.com/u/14016098?v=4)](https://github.com/rabauss "rabauss (1 commits)")

---

Tags

contaoantispamALTCHAform field widget

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/markocupic-contao-altcha-antispam/health.svg)

```
[![Health](https://phpackages.com/badges/markocupic-contao-altcha-antispam/health.svg)](https://phpackages.com/packages/markocupic-contao-altcha-antispam)
```

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[metamodels/core

MetaModels core

10156.4k68](/packages/metamodels-core)[contao-community-alliance/dc-general

Universal data container for Contao

1680.8k92](/packages/contao-community-alliance-dc-general)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[shopware/storefront

Storefront for Shopware

684.6M236](/packages/shopware-storefront)

PHPackages © 2026

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