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(4mo ago)56.0k—0%2[2 issues](https://github.com/markocupic/contao-altcha-antispam/issues)GPL-3.0-or-laterPHPPHP ^8.1CI passing

Since Feb 11Pushed 4mo 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 1mo 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

43

—

FairBetter than 91% of packages

Maintenance66

Regular maintenance activity

Popularity30

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

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

141d 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

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3183.3k6](/packages/codefog-contao-news-categories)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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