Add honeypot protection to contact forms

This commit is contained in:
Codex Agent
2026-01-23 15:38:34 +01:00
parent 531c666cf0
commit f19a83d4ee
10 changed files with 312 additions and 106 deletions

78
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "5e1d60e650853d6113b01e1adaf49d65",
"content-hash": "a4956012b0e374c8f74b61a892e6b984",
"packages": [
{
"name": "anourvalar/eloquent-serialize",
@@ -6804,6 +6804,82 @@
],
"time": "2024-05-17T09:06:10+00:00"
},
{
"name": "spatie/laravel-honeypot",
"version": "4.6.2",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-honeypot.git",
"reference": "62ec9dbecd2a17a4e2af62b09675f89813295cac"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-honeypot/zipball/62ec9dbecd2a17a4e2af62b09675f89813295cac",
"reference": "62ec9dbecd2a17a4e2af62b09675f89813295cac",
"shasum": ""
},
"require": {
"illuminate/contracts": "^11.0|^12.0",
"illuminate/encryption": "^11.0|^12.0",
"illuminate/http": "^11.0|^12.0",
"illuminate/support": "^11.0|^12.0",
"illuminate/validation": "^11.0|^12.0",
"nesbot/carbon": "^2.0|^3.0",
"php": "^8.2",
"spatie/laravel-package-tools": "^1.9",
"symfony/http-foundation": "^7.0|^8.0"
},
"require-dev": {
"livewire/livewire": "^3.0",
"orchestra/testbench": "^9.0|^10.0",
"pestphp/pest": "^2.0|^3.0|^4.0",
"pestphp/pest-plugin-livewire": "^1.0|^2.1|^3.0|^4.0",
"spatie/pest-plugin-snapshots": "^1.1|^2.1",
"spatie/phpunit-snapshot-assertions": "^4.2|^5.1",
"spatie/test-time": "^1.2.1"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"Spatie\\Honeypot\\HoneypotServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"Spatie\\Honeypot\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Freek Van der Herten",
"email": "freek@spatie.be",
"homepage": "https://spatie.be",
"role": "Developer"
}
],
"description": "Preventing spam submitted through forms",
"homepage": "https://github.com/spatie/laravel-honeypot",
"keywords": [
"laravel-honeypot",
"spatie"
],
"support": {
"source": "https://github.com/spatie/laravel-honeypot/tree/4.6.2"
},
"funding": [
{
"url": "https://spatie.be/open-source/support-us",
"type": "custom"
}
],
"time": "2025-11-28T09:57:48+00:00"
},
{
"name": "spatie/laravel-package-tools",
"version": "1.92.7",