Search by

pbd-kn / contao-tossncaptcha-bundle

pbd-kn

TossnCaptcha Captcha without Google

Package info

github.com/pbd-kn/contao-tossn-captcha-bundle

Homepage

Issues

Type:contao-bundle

pkg:composer/pbd-kn/contao-tossncaptcha-bundle

Statistics

Installs: 838

Dependents: 0

Suggesters: 0

Stars: 1

2.1.13 2026-10-25 10:28 UTC

This package is auto-updated.

Last update: 2026-10-25 11:09:16 UTC


README

Extension for Contao CMS
Contao is an Open Source PHP Content Management System for people who want a professional website that is easy to maintain. Visit the [project website][1] for more information.

About

Porting tossncaptcha to Contao 5 (Version 2.1...) Porting tossncaptcha to Contao 4
Based on tossncaptcha Contao 3

Contao pbd-kn/contao-tossncaptcha-bundle

  • tossncaptcha stellt fuer Formulare eine Sicherheitsabfrage zur Verfuegung.
    Diese Abfrage erlaubt eine Captcha Abfrage, ohne Google Elemente.

  • Das Element steht erst zur Verfuegung, wenn es unter Einstellungen aktiviert (Einstellungen -> Captcha aktivieren),
    und eventuell konfigurierte wurde.

  • tossncaptcha provides a security query for forms.
    This query allows a captcha query without the google items.

  • The element is only available if it has been activated under Settings (Settings -> Activate Captcha),
    and possibly configured.

Kompatibilitaet und Aktualisierung

  • PHP 8.1 oder neuer, Contao 4.13 oder 5.3; GD mit FreeType-Unterstuetzung.
  • Bestehende Formularfelder vom Typ tossn_captcha bleiben gueltig. Auch tossnCaptcha wird unterstuetzt; keine Umbenennung in der Datenbank erforderlich.
  • Nach Bereitstellung einer neuen Paketversion im Contao Manager aktualisieren, Datenbankmigration ausfuehren (falls die Captcha-Tabelle noch fehlt), Assets installieren und Anwendungscache neu aufbauen.
  • Ein projektspezifisches templates/form_tossn_captcha.html5 hat Vorrang vor dem Bundle-Template. Bei Problemen dieses mit der neuen Vorlage vergleichen.
  • Danach Formular im Frontend mit richtiger, falscher und leerer Antwort testen; Backend-Vorschau und eigenen Hintergrund/eigene Schrift ebenfalls pruefen.
  • Diese Quellcodeaenderung aktualisiert keine bereits installierten vendor-Kopien.

Isolierte Kompatibilitaetstests

Ohne Zugriff auf die Datenbank oder Start der Anwendung:

php tests/CompatibilityTest.php /pfad/zur/contao-installation/vendor/autoload.php

Die Tests verwenden echte Contao-Klassen, einen Datenbank-Testdouble und GD. Sie ersetzen keinen vollstaendigen Formular- und Versandtest in der Zielinstallation.