# spatie/laravel-honeypot

Preventing spam submitted through forms

Repository: https://github.com/spatie/laravel-honeypot
Canonical: https://ross.abutalabs.com/products/laravel-honeypot
Homepage: https://freek.dev/1240-preventing-spam-submitted-through-forms
Language: PHP
License: MIT
License Family: permissive
Topics: laravel, form, spam
Last push: 2026-08-20T09:25:37+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 78, longevity 100
- inputs: {"age_days": 2813, "days_push": 13, "days_rel": 69, "gap_med": 85, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1575, forks 107 (observed 2026-08-28T04:05:05.891196+00:00)

## What it is
A Laravel package that prevents spam form submissions using honeypot fields and submission-time checks. It provides a Blade component and middleware that silently discards requests from bots.

## Use cases
- prevent spam bots from submitting contact forms
- add invisible honeypot fields to Laravel forms
- block form submissions that happen too fast
- protect Inertia-powered forms from spam
- discard spammy requests without CAPTCHAs

## When to choose
- you run a Laravel app with public forms receiving bot spam
- you want lightweight, invisible spam protection without CAPTCHA friction
- you use Blade or Inertia and want a drop-in component

## When to avoid
- your app is not built on Laravel or PHP
- you need protection against sophisticated bots that detect honeypots
- you require CAPTCHA-style human verification

## Facets
- artifact type: library
- maturity: stable
- function: security, middleware, form-handling
- domain: web-development, backend, security
- platform: php
- tags: honeypot, anti-spam, laravel-package, spatie, blade-component, spam, laravel

## Member repositories
- spatie/laravel-honeypot (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:05.891196+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:57:36.663830+00:00, confidence not recorded.
  - readme: https://github.com/spatie/laravel-honeypot (fetched 2026-08-28T04:05:05.891196+00:00, sha 6ab549c3b42c)
  - homepage: https://freek.dev/1240-preventing-spam-submitted-through-forms (fetched 2026-08-29T11:27:36.909606+00:00, sha 4955afb77cce)
  - site_page: https://freek.dev/about (fetched 2026-08-29T11:27:36.912339+00:00, sha e0ef9dccbb05)
- Data as of 2026-08-30T08:39:29.467469+00:00.
