Preventing spam submitted through forms

The folks at Spatie recently released a laravel package which protects your applications against spam.

René Kulik on 13.01.2019

Freek Van der Herten recently introduced laravel-honeypot, a laravel package which is able to detect and discard spammy requests.

The majority of spam bots are pretty dumb. You can thwart most of them by adding an invisible field to your form that should never contain a value when submitted. Such a field is called a honeypot. These spam bots will fill all fields, including the honeypot. When a submission comes in with a filled honeypot field, our package will discard that request.