cleantalk/craft-antispam

Anti-Spam protection by CleanTalk

1.0.4 2024-05-06 09:15 UTC

This package is auto-updated.

Last update: 2025-02-05 05:47:17 UTC


README

Anti-Spam protection by CleanTalk Overview

Anti-Spam by CleanTalk is a cloud spam protection. Spam protection works invisible for visitors, and they do not need to prove that they are not bots.

Cloud capabilities allow you to view all processed requests in the anti-spam log and control the operation of the service.

Additional features of personal lists expand your options for protecting the site.

At the moment, protection is implemented only for spam protection for the Contact Form plugin. https://plugins.craftcms.com/contact-form

If you need to protect another types of forms, please, look at the Cloud Gray Pty Ltd solution, that let you use the CleanTalk service: https://plugins.craftcms.com/cleantalk?craft4

Requirements

Installation

To install the plugin, follow these instructions.

composer require cleantalk/craft-antispam
craft plugin/install craft-antispam

If you have your own custom forms, then to check the data from these forms for spam, you need to replace "YOUR_FORM_FIELD" in the file "cleantalk/craft-antispam/src/CraftAntispam.php " to the name of your fields "email" and "message" in the form

$params['email'] = $entry->YOUR_FORM_FIELD;
$params['message'] = $entry->YOUR_FORM_FIELD;

Configuring Anti-Spam protection by CleanTalk

To configure the plugin, just add the api-key to the plugin's setting located at /admin/settings/plugins/craft-antispam