https://github.com/raruto/cockpit-honeypot
Honeypot addon for Cockpit CMS
https://github.com/raruto/cockpit-honeypot
addon cockpit forms honeypot
Last synced: 3 months ago
JSON representation
Honeypot addon for Cockpit CMS
- Host: GitHub
- URL: https://github.com/raruto/cockpit-honeypot
- Owner: Raruto
- License: mit
- Created: 2021-01-29T17:58:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-29T18:03:32.000Z (over 4 years ago)
- Last Synced: 2025-01-24T08:11:37.170Z (9 months ago)
- Topics: addon, cockpit, forms, honeypot
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cockpit-honeypot
Honeypot addon for [Cockpit CMS](http://getcockpit.com/)## Features
- Add "honeypot" switch to Forms settings
- Automatically append "honeypot" field to cockpit `Forms::open` api
- Automatically validate "honeypot" submitted field to cockpit `Forms::submit`
- Automatically exclude invalid submissions from saved entries## Installation
### Manual
Download [latest release](https://github.com/Raruto/cockpit-honeypot) and extract to `COCKPIT_PATH/addons/Honeypot` directory
### Git
```sh
git clone https://github.com/Raruto/cockpit-honeypot.git ./addons/Honeypot
```### Cockpit CLI
```sh
php ./cp install/addon --name Honeypot --url https://github.com/Raruto/cockpit-honeypot.git
```### Composer
1. Make sure path to cockpit addons is defined in your projects' _composer.json_ file:
```json
{
"name": "MY_PROJECT",
"extra": {
"installer-paths": {
"cockpit/addons/{$name}": ["type:cockpit-module"]
}
}
}
```2. In your project root run:
```sh
composer require raruto/cockpit-honeypot
```---
**Related projects:** [ExtendedForms](https://github.com/Raruto/cockpit-extended-forms), [FormValidation](https://github.com/raffaelj/cockpit_FormValidation)
**Compatibile with:** [](https://github.com/agentejo/cockpit)