https://github.com/cleantalk/craft-antispam
CraftCMS plugin `Anti-Spam protection by CleanTalk`
https://github.com/cleantalk/craft-antispam
Last synced: about 8 hours ago
JSON representation
CraftCMS plugin `Anti-Spam protection by CleanTalk`
- Host: GitHub
- URL: https://github.com/cleantalk/craft-antispam
- Owner: CleanTalk
- License: mit
- Created: 2023-01-20T17:49:28.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-05T05:47:14.000Z (about 1 year ago)
- Last Synced: 2025-02-05T06:30:00.087Z (about 1 year ago)
- Language: PHP
- Size: 66.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Anti-Spam protection by CleanTalk plugin for Craft CMS
## 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](https://github.com/cloudgrayau/cleantalk/blob/craft4/README.md) solution, that let you use the CleanTalk service: https://plugins.craftcms.com/cleantalk?craft4
## Requirements
* Craft CMS 3.0.0 or later
* CleanTalk account https://cleantalk.org/register?product=anti-spam
## Installation
To install the plugin, follow these instructions.
```bash
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
```php
$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